Skip to content

Commit

Permalink
Update gtsummary_definition.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Jan 29, 2025
1 parent 530c10e commit bb7b8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/gtsummary_definition.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Formatting and printing instructions for these columns is stored in `.$table_sty

There are a few internal {gtsummary} functions to assist in constructing and modifying a `.$table_header` data frame.

1. `.create_gtsummary_object(table_body)` After a user creates a `table_body`, pass it to this function and the skeleton of a gtsummary object is created and returned (including the full `table_styling` list of tables).
1. `as_gtsummary()` / `.create_gtsummary_object(table_body)` After a user creates a `table_body`, pass it to this function and the skeleton of a gtsummary object is created and returned (including the full `table_styling` list of tables).

1. `.update_table_styling()` After columns are added or removed from `table_body`, run this function to update `.$table_styling` to include or remove styling instructions for the columns. FYI the default styling for each new column is to hide it.

Expand Down

0 comments on commit bb7b8a4

Please sign in to comment.