View source: R/bystrataCoreFuns.R
eventsbystrata | R Documentation |
Summarizes number of events, subjects, and percent censoring within each strata and treatment arm from formed risk strata
eventsbystrata(treeStrata, arm, status, family = "cox")
treeStrata |
Vector of subject-level strata membership |
arm |
Treatment indicator, 1 = test treatment, 0 = control |
status |
For family="cox", the censoring status (1 = event, 0 = censored); for family="binomial" the case/control status |
family |
Trait family, current options: "cox" or "binomial" |
Table summarizing number of events, subjects, and percent censoring (for family = "cox") or percent controls (for family = "binomial") within each strata and treatment arm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.