| fit.rfsrc | R Documentation |
Wrappers for random survival forests fitted with randomForestSRC.
fit.rfsrc(response, x, cplx, ...)
complexity.oob.rfsrc(response, x, full.data,
mtry = unique(pmax(1L, c(floor(sqrt(ncol(x))), floor(ncol(x)/3), ncol(x)))),
nodesize = c(5L, 15L), ntree = 200L, ...)
## S3 method for class 'rfsrc'
predictProb(object, response, x, times, complexity = NULL, ...)
response |
survival response as a |
x |
covariate matrix. |
cplx |
either a selected |
full.data |
full data frame, accepted for the |
mtry |
candidate |
nodesize |
candidate terminal-node sizes for OOB tuning. |
ntree |
number of trees used during OOB tuning. |
object |
a fitted |
times |
evaluation times for survival probabilities. |
complexity |
unused for fitted forests; included for interface compatibility. |
... |
additional arguments passed to |
No PLL.rfsrc method is provided, because random survival forests do not naturally expose a Cox-style partial likelihood. They can still be used with pmpec through predictProb.rfsrc.
Fitted rfsrc objects, tuning lists containing mtry and nodesize, and survival-probability matrices.
peperr, rfsrc, predict.rfsrc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.