
Make predictions for time-to-event outcomes at specified horizon times
Source:R/landmarking_survival.R
predict_survival.Rd
Make predictions for time-to-event outcomes at specified horizon times
Arguments
- x
An object of class
Landmarking
.- landmarks
A numeric vector of landmark times.
- windows
Vector of prediction windows determining horizon times.
- method
R function that is used to make predictions
- ...
Additional arguments passed to the prediction function (e.g. number of classes/clusters for lcmm).
Value
An object of class Landmarking
.