Skip to contents

All functions

LandmarkAnalysis-class
S4 class for performing a landmarking analysis
LandmarkAnalysis()
Creates an S4 class for a landmarking analysis
check_lcmm_convergence()
Checks convergence of lcmm models
cml
Chronic myeloid leukaemia data: static covariates and survival outcome
cml_wbc
Chronic myeloid leukaemia data: longitudinal white blood cell count
compute_risk_sets(<LandmarkAnalysis>)
Compute the list of individuals at risk at landmark times
compute_risk_sets()
Compute the list of individuals at risk at landmark times
epileptic
Dose calibration of anti-epileptic drugs data
fit_longitudinal(<LandmarkAnalysis>)
Fits the specified longitudinal model for time-varying covariates up to the landmark times
fit_longitudinal()
Fits the specified longitudinal model for time-varying covariates up to the landmark times
fit_superlandmark(<LandmarkAnalysis>)
Fits a survival model pooled across several landmark times (superlandmarking)
fit_superlandmark()
Fits a survival model pooled across several landmark times (superlandmarking)
fit_survival(<LandmarkAnalysis>)
Fits the specified survival model at the landmark times and up to the horizon times specified by the user
fit_survival()
Fits the specified survival model at the landmark times and up to the horizon times specified by the user
ova
Advanced ovarian cancer data
performance_metrics(<LandmarkAnalysis>)
Performance metrics
performance_metrics()
Performance metrics
plot(<LandmarkAnalysis>)
Plot longitudinal observations and predicted survival curve for one individual
plot_hazard_ratio(<LandmarkAnalysis>)
Plot the hazard ratio of a covariate as a function of landmark time
plot_hazard_ratio()
Plot the hazard ratio of a covariate as a function of landmark time
predict_longitudinal(<LandmarkAnalysis>)
Make predictions for time-varying covariates at specified landmark times
predict_longitudinal()
Make predictions for time-varying covariates at specified landmark times
predict_superlandmark(<LandmarkAnalysis>)
Make predictions from a superlandmark survival model
predict_superlandmark()
Make predictions from a superlandmark survival model
predict_survival(<LandmarkAnalysis>)
Make predictions for time-to-event outcomes at specified horizon times
predict_survival()
Make predictions for time-to-event outcomes at specified horizon times
prune(<LandmarkAnalysis>)
Prunes a landmark time from a LandmarkAnalysis, removing the risk set, longitudinal submodel and survival submodel from the object.
prune()
Prunes a landmark time from a LandmarkAnalysis, removing the risk set, longitudinal submodel and survival submodel from the object.
prune_risk_sets(<LandmarkAnalysis>)
Prune a set of individuals from a risk set
prune_risk_sets()
Prune a set of individuals from a risk set
show(<LandmarkAnalysis>)
Displays an object of class "LandmarkAnalysis"
split_wide_df()
Split a wide dataframe containing static and dynamic covariates and splits in into a dataframe with the static covariates and a list of dataframes, each associated to a dynamic covariate.
summary(<LandmarkAnalysis>)
Summarise a LandmarkAnalysis object