Skip to contents

All functions

LandmarkAnalysis-class
S4 class for performing a landmarking analysis
LandmarkAnalysis()
Creates an S4 class for a landmarking analysis
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
.BinaryBrierScore()
Binary Brier Score
.CIndexCRisks()
Concordance index for competing risks
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_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
performance_metrics(<LandmarkAnalysis>)
Performance metrics
performance_metrics()
Performance metrics
plot(<LandmarkAnalysis>)
Plots longitudinal trajectories and survival curves for landmarking models.
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_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