predict.survSL.rfsrc: Prediction functions for survival random forest prediction...

View source: R/SL_wrappers.R

predict.survSL.rfsrcR Documentation

Prediction functions for survival random forest prediction algorithm

Description

Obtains predicted survivals from a fitted survSL.rfsrc object.

Usage

## S3 method for class 'survSL.rfsrc'
predict(object, newX, new.times, ...)

Arguments

object

Fitted survSL.rfsrc object.

newX

New covariate data.frame for which to obtain predictions.

new.times

Times at which to obtain to obtain the predicted survivals.

...

Additional ignored arguments.

Value

Matrix of predictions, with the same number of rows as newX and number of columns equal to the length of new.times. Rows index new observations, and columns index new times at which the survival was computed.


tedwestling/survSuperLearner documentation built on Dec. 12, 2024, 4:16 p.m.