compute_kmmc: Compute KMMC statistics

Description Usage Arguments

View source: R/compute_kmmc.R

Description

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

Usage

1
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 documentation built on Jan. 16, 2021, 5:44 p.m.