survSL.rfsrc | R Documentation |
This prediciton algorithm uses the rfsrc
function from the randomForestSRC
package to estimate a survival random forest.
survSL.rfsrc(time, event, X, newX, new.times, obsWeights, id, ...)
time |
Observed follow-up time; i.e. minimum of the event and censoring times. |
event |
Observed event indicator; i.e, whether the follow-up time corresponds to an event or censoring. |
X |
Training covariate data.frame. |
newX |
Test covariate data.frame to use for prediction. Should have the same variable names and structure as |
new.times |
Times at which to obtain to obtain the predicted survivals. |
obsWeights |
Observation weights. |
id |
Currently ignored |
... |
Additional arguments passed on to |
pred |
Matrix of predictions, with the same number of rows as |
fit |
One-element list including |
Ishwaran, H., Kogalur, U. B., Blackstone, E. H., & Lauer, M. S. (2008). Random survival forests. The Annals of Applied Statistics, 2(3), 841-860.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.