View source: R/survSRF_stack.R
survsrfstack_predict | R Documentation |
Predicts event probability by a trained stacked ensemble of Survival Random Forest and CoxPH
survsrfstack_predict(
trained_object,
newdata,
fixed_time,
predict.factors,
extrapsurvival = TRUE
)
trained_object |
a trained model, output of survsrfstack_train() |
newdata |
new data for which predictions are made |
fixed_time |
time of interest, for which event probabilities are computed |
predict.factors |
list of predictor names |
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.