count_event_by_glm | R Documentation |
Count event and subgroup summary, supports automatic parsing of fixed-effect syntax '(1|subgroup)' and multiple families.
count_event_by_glm(
formula,
data,
count_by_var = NULL,
var_subgroup = NULL,
decimal.percent = 1,
family = "binomial"
)
formula |
formula with response (0/1 or count or continuous) and optional fixed-effect '(1|subgroup)' term. |
data |
data.frame or survey.design |
count_by_var |
variable name to stratify by (string), default NULL |
var_subgroup |
subgroup variable name (string); parsed from formula if not provided, default NULL |
decimal.percent |
decimals for percent or mean/sd, default 1 |
family |
family type: "gaussian", "binomial", "poisson", or "quasipoisson" |
tibble with grouping columns and Metric column (rate or mean sd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.