Open ddsjoberg opened 11 months ago
Default rounding in R is different from SAS and from what everyone expects.
After discussion with @shajoezhu, we decided we will export a function for human rounding, so we don't have to continue to explain how the rounding is performed and results from other languages will match.
by
and strata
In some cases, tabulations and summaries need to be calculated by every combination of variables, including observed and unobserved combinations (e.g. tabulating subject characteristics by treatment arm: even if a characteristic is unobserved in a treatment arm), and in other cases, we need summaries by observed levels (e.g. tabulating preferred term stratified by SOC).
ard_categorical(by)
) and we could add a strata
argument to tabulate by observed levels.@bzkrouse and @ddsjoberg discussed and we will add a strata
argument to supplement the existing by
argument.
https://github.com/insightsengineering/chevron.adr
For now, each comment below will be one decision made.