Predicts event probability by a trained Survival Random Forest
survsrf_predict(trained_model, newdata, fixed_time, extrapsurvival = TRUE)
vector of predicted event probabilities
a trained SRF model, output of survsrf_train(), or randomForestSRC::rfsrc()
new data for which predictions are made
time of interest for which event probabilities are computed
if probabilities are extrapolated beyond trained times (using probability of the lastest available time). Can be helpful for cross-validation of small data, where random split may cause the time of interest being outside of the training set.