survsrfens_predict: Predicts event probability by a trained sequential ensemble...

View source: R/survSRF_ens.R

survsrfens_predictR 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


survcompare documentation built on June 25, 2025, 5:09 p.m.