Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

compute_kmmc

Compute KMMC statistics


Description

Kaplan-Meier Mean Covariate plots are a simulation-based diagnostic to study the influence of covariates and identify potential model misspecification.

Usage

compute_kmmc(dat, strat = NULL, reverse_prob = FALSE, kmmc = "DOSE")

Arguments

dat

data.frame with events

strat

vector of stratification variables

reverse_prob

reverse the probability (i.e. return '1-probability')?

kmmc

variable to create the KMMC plot for.


vpc

Create Visual Predictive Checks

v1.2.2
MIT + file LICENSE
Authors
Ron Keizer <ronkeizer@gmail.com>
Initial release
2021-01-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.