qtile_n: Compute sample size for each quantile bin for each group
Description
Compute sample size for each quantile bin for each group
Usage
qtile_n(formula, data, qtiles = seq(0, 1, 0.33))
Arguments
formula
A formula of the type out ~ group where out is
the outcome variable and group is the grouping variable. Note the
grouping variable must only include only two groups.
data
The data frame that the data in the formula come from.