View source: R/utils_rtables.R
c_label_n_alt | R Documentation |
alt_counts_df
row total to labelsThis takes the label of the latest row split level and adds the row total from alt_counts_df
in parentheses. This function differs from c_label_n()
by taking row counts from alt_counts_df
rather than df
, and is used by add_rowcounts()
when alt_counts
is set to TRUE
.
c_label_n_alt(df, labelstr, .alt_df_row)
df |
( |
labelstr |
( |
A list with formatted rtables::CellValue()
with the row count value and the correct label.
c_label_n()
which performs the same function but retrieves row counts from df
instead
of alt_counts_df
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.