Predicts event probability for a fitted SRF model randomForestSRC::rfsrc. Essentially a wrapper of srf_survival_prob_for_time.
survsrf_predict(trained_model, newdata, fixed_time, oob = FALSE)
returns vector of predictions (or matrix if fixed_time is a vector of times)
trained model
test data
time for which probabilities are computed
TRUE/FALSE use out-of-bag predictions while tuning instead of cross-validation, default is TRUE and is faster