Kaplan-Meier Mean Covariate plots are a simulation-based diagnostic to study the influence of covariates and identify potential model misspecification.
compute_kmmc(dat, strat = NULL, reverse_prob = FALSE, kmmc = "DOSE")
data.frame with events
vector of stratification variables
reverse the probability (i.e. return `1-probability`)?
variable to create the KMMC plot for.