survsrfens_predict {survcompare} | R Documentation |
Predicts event probability by a trained sequential ensemble of Survival Random Forest and CoxPH
Description
Predicts event probability by a trained sequential ensemble of Survival Random Forest and CoxPH
Usage
survsrfens_predict(trained_model, newdata, fixed_time, extrapsurvival = TRUE)
Arguments
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) |
Value
vector of predicted event probabilities
[Package survcompare version 0.3.0 Index]