You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`alt_counts_df`| (`character`) Alternative dataset used only to calculate column counts. |`NULL`|
178
176
|`show_colcounts`| (`flag`) Whether column counts should be printed. |`TRUE`|
179
177
|`arm_var`| (`character`) Arm variable used to split table into columns. |`"ARM"`|
180
178
|`saffl_var`| (`character`) Flag variable used to indicate inclusion in safety population. |`"SAFFL"`|
181
179
|`vars`| (`character`) Variables from `df` to include in the table. |`c("SEX", "AGE", "AGEGR1", "RACE", "ETHNIC", "COUNTRY")`|
182
180
|`lbl_vars`| (`character`) Labels corresponding to variables in `vars` to print in the table. Labels should be ordered according to the order of variables in `vars`. |`formatters::var_labels(df, fill = TRUE)[vars]`|
183
181
|`lbl_overall`| (`character`) If specified, an overall column will be added to the table with the given value as the column label. |`"Total Population"`|
184
-
|`.stats`| (`character`) Statistics to include in the table. Includes statistics for all variable types (only the statistics that are valid for a given variable's type will be printed). See [`tern::analyze_vars()`](https://insightsengineering.github.io/tern/main/reference/analyze_variables.html#value) for options. |`c("mean_sd", "median_range", "count_fraction")`|
185
-
|`.formats`| (named `list` of `character`) List of formats corresponding to each value in `.stats`. Each name is a value in `.stats` and the corresponding value is the format that should be applied to that statistic. See [`formatters::list_valid_format_labels()`](https://insightsengineering.github.io/formatters/main/reference/list_valid_format_labels.html#ref-examples) for a list of valid formats. |`NULL`|
186
182
|`prune_0`| (`flag`) Whether all-zero rows should be removed from the table. |`TRUE`|
187
183
|`na_rm`| (`flag`) Whether `NA` levels should be removed from the table. |`FALSE`|
188
184
|`annotations`| (named `list` of `character`) List of annotations to add to the table. Valid annotation types are `title`, `subtitles`, `main_footer`, and `prov_footer.` Each name-value pair should use the annotation type as name and the desired string as value. |`NULL`|
0 commit comments