-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add modify header vignette #96
Comments
I was thinking about this a bit...we could have the code to create a big table like this one gtsummary::theme_gtsummary_compact()
df_adverse_events %>%
dplyr::mutate(grade = ifelse(dplyr::row_number() == 1L, NA, grade)) %>%
tbl_ae(
id = patient_id,
ae = adverse_event,
soc = system_organ_class,
strata = trt,
by = grade
) %>%
add_overall(across = 'by') %>%
modify_ae_header(
all_ae_cols() ~ "**Grade {by}**"
) %>%
bold_labels() and I can ask Jeffrey to do some photoshop magic to highlight the columns selected by various calls to the |
oooh yes that looks awesome! |
I asked J about this, and he no longer has access to Photoshop and Illustrator since he retired. Do you know anyone who could make a cute figure like this? |
Add an example to tbl_ae() showing how to remove the default spanning header. |
Show how various selectors work
The text was updated successfully, but these errors were encountered: