-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Ordering seems to matter when using extras() and add_auto_labels(). See example:
This works
my_data |>
tbl_summary(
by = by_column,
include = c(my_vars),
type = list(all_continuous() ~ 'continuous2'),
statistic = list(all_continuous2() ~ c('{mean}', '{min}, {p25}, {median}, {p75}, {max}')),
missing = 'no'
) |>
extras(overall = TRUE) |>
add_auto_labels()
This FAILS
my_data |>
tbl_summary(
by = by_column,
include = c(my_vars),
type = list(all_continuous() ~ 'continuous2'),
statistic = list(all_continuous2() ~ c('{mean}', '{min}, {p25}, {median}, {p75}, {max}')),
missing = 'no'
) |>
add_auto_labels() |>
extras(overall = TRUE)
TODO: Explore orderings
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels