Description Usage Arguments Value References
View source: R/create_qgroups_svy.R
Complex survey version of create_qgroups
. Relies heavily on the
survey package [1,2].
1 2 3 |
x |
Numeric vector. |
groups |
Numeric value, e.g. 3 for tertiles, 4 for quartiles, etc. |
probs |
Numeric vector. |
strata |
Factor specifying subgroups to calculate quantiles within. For
multivariable subgroups, you can use |
design |
Survey design object. |
svyquantile_list |
Arguments to pass to
|
cut_list |
Arguments to pass to |
Factor variable.
1. Therneau, T. (2015). A Package for Survival Analysis in S. R package version 2.38. https://cran.r-project.org/package=survival.
2. Therneau, T.M. and Grambsch, P.M. (2000). Modeling Survival Data: Extending the Cox Model. Springer, New York. ISBN 0-387-98784-3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.