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
)
vector of predicted event probabilities
a trained model, output of survsrfstack_train()
new data for which predictions are made
time of interest, for which event probabilities are computed
list of predictor names
if probabilities are extrapolated beyond trained times (constant)