predictRisk.gbm.satpred: Extract predictions from gbm model

View source: R/gbm_satpred.R

predictRisk.gbm.satpredR Documentation

Extract predictions from gbm model

Description

Extract event probabilities from the fitted model.

Usage

## S3 method for class 'gbm.satpred'
predictRisk(object, newdata, times, ...)

Details

For survival outcome, the function predicts the risk, 1 - S(t|x), where S(t|x) is the survival chance of an individual characterized by x. riskRegression::predictRisk.gbm seems to have issues reconstructing the data.


CYGUBICKO/satpred documentation built on Sept. 10, 2023, 4:10 p.m.