
Make predictions for time-varying covariates at specified landmark times
Source:R/landmarking_longitudinal.R
predict_longitudinal.Rd
Make predictions for time-varying covariates at specified landmark times
Arguments
- x
An object of class
Landmarking
.- landmarks
A numeric vector of landmark times.
- method
Longitudinal data analysis method used to make predictions
- dynamic_covariates
Vector of time-varying covariates to be modelled as the outcome of a longitudinal model.
- ...
Additional arguments passed to the prediction function (e.g. number of classes/clusters for lcmm).
Value
An object of class Landmarking
.