spect_predict {spect} | R Documentation |
Generates predictions for each individual at each interval defined by the 'train_result' parameter. The interval-level predictions can be combined to generate surivival curves for an individual.
Description
Generates predictions for each individual at each interval defined by the 'train_result' parameter. The interval-level predictions can be combined to generate surivival curves for an individual.
Usage
spect_predict(train_result, new_data)
Arguments
train_result |
- return data object from spect_train |
new_data |
- New data set with the same covariates as the training data set. |
Value
predictions by the trained model on a new data set
Author(s)
Stephen Abrams, stephen.abrams@louisville.edu
[Package spect version 1.0 Index]