S4 class for performing a landmarking analysis
Slots
landmarksA numeric vector of landmark times.
data_staticA data frame containing subject ids, static covariates,
data_dynamicData frame in long format with subject ids, measurement values, measurement times and measurement name.
event_indicatorName of the column indicating event or censoring.
idsName of the column indicating subject ids.
timesName of the column indicating observation time in
data_dynamic.measurementsName of the column indicating measurement values in
data_dynamic.event_timeName of the column indicating time of the event/censoring.
risk_setsList of indices.
longitudinal_fitsList of model fits for the specified landmark times and biomarkers.
longitudinal_predictionsList of model predictions for the specified landmark times and biomarkers.
longitudinal_predictions_testList of out-of-sample predictions for the specified landmark times and biomarkers.
survival_datasetsList of survival dataframes used in the survival submodel.
survival_datasets_testList of survival dataframes used for out-of-sample predictions with the survival submodel.
survival_fitsList of survival model fits at each of the specified landmark times.
survival_predictionsList of time-to-event predictions for the specified landmark times and prediction horizons.
survival_predictions_testList of out-of-sample predictions for the time-to-event outcome if K > 1.
KNumber of cross-validation folds (1 by default)
cv_foldsData frame associating individuals to cross-validation folds
