fit.rsf_mtry {peperr}R Documentation

Interface function for fitting a random survival forest

Description

Interface for fitting a random survival forest by rsf, conforming to the requirements for argument fit.fun in peperr call.

Usage

fit.rsf_mtry(response, x, cplx, ...)

Arguments

response a survival object (with Surv(time, status)).
x n*p matrix of covariates.
cplx Value of mtry, the number of randomly selected variables at each split.
... additional arguments passed to rsf call.

Details

Function is basically a wrapper around rsf of package randomSurvivalForest. Variable mtry, i.e. the number of variables selected randomly at each split, is taken as complexity value.

Value

rsf object

See Also

peperr, rsf


[Package peperr version 1.1-5 Index]