View source: R/survival_functions.R
stratify | R Documentation |
Stratify variables based on quantiles
stratify(x, n = 2, ties = "lower", optimal = FALSE, surv = NULL, ...)
x |
Data vector |
n |
Number of strata |
ties |
Assign quantile ties to higher or lower group |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.