binned_es {esvis} | R Documentation |
Calculate binned effect sizes
Description
Calculate binned effect sizes
Usage
binned_es(
data,
formula,
ref_group = NULL,
qtile_groups = 3,
es = "g",
rename = TRUE
)
Arguments
data |
The data frame used for estimation - ideally structured in a tidy format. |
formula |
A formula of the type |
ref_group |
Optional. A character vector or forumla listing the
reference group levels for each variable on the right hand side of the
formula, supplied in the same order as the formula. Note that if using the
formula version, levels that are numbers, or include hyphens, spaces, etc.,
should be wrapped in back ticks (e.g.,
|
qtile_groups |
The number of quantile bins to split the data by and calculate effect sizes. Defaults to 3 bins (lower, middle, upper). |
es |
The effect size to calculate. Currently the only options are "d" or "g". |
rename |
Logical. Should the column names be relabeled according to
the reference and focal groups. Defaults to |
Value
A data frame with the corresponding effect sizes.