predict.survensemble {survcompare}R Documentation

Predicts event probability for a fitted survensemble

Description

predict.survensemble

Usage

## S3 method for class 'survensemble'
predict(object, newdata, fixed_time, oob = FALSE, ...)

Arguments

object

trained survensemble model

newdata

test data

fixed_time

time for which probabilities are computed

oob

TRUE/FALSE , default is FALSE, if out of bag predictions are to be made from SRF

...

other parameters to pass

Value

matrix of predictions for observations in newdata by times


[Package survcompare version 0.1.2 Index]