survsrfens_predict | R Documentation |
Predicts event probability by a trained sequential ensemble of Survival Random Forest and CoxPH
survsrfens_predict(trained_model, newdata, fixed_time, extrapsurvival = TRUE)
trained_model |
a trained model, output of survsrfens_train() |
newdata |
new data for which predictions are made |
fixed_time |
time of interest, for which event probabilities are computed |
extrapsurvival |
if probabilities are extrapolated beyond trained times (constant) |
vector of predicted event probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.