c_catg | R Documentation |
various comparer functions for catg types
c_catg(...)
c_pdiff(x, glist, useNA = FALSE, w = NULL, ...)
c_cOR(x, glist, useNA = FALSE, w = NULL, ...)
c_cstd.each(x, glist, useNA = FALSE, w = NULL, ...)
c_cstd(x, glist, useNA = FALSE, w = NULL, expand.levels = TRUE, ...)
... |
this is to be able to tolerate unnecessary arguments |
x |
vector |
glist |
a grouping list |
useNA |
display info for missing? |
w |
weight |
expand.levels |
if only one value is returned for a multilevel categorical
variable, should the results be expanded with |
c_pdiff()
: difference in proportions, 2 groups only
c_cOR()
: odds ratios, 2 groups only
c_cstd.each()
: standardized differences (2 groups only) for each level
c_cstd()
: standardized differences (2 groups only) for the variable
https://www.lerner.ccf.org/qhs/software/lib/stddiff.pdf
t_fisher.p
and t_chisq.p
which work for
catg variables as well
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.