
Formatted Analysis Function for Proportion Analysis (TEFCGIS08 e.g.)
Source:R/proportions.R
prop_table_afun.RdThis function applies to a factor x when a column split was prepared with
prop_split_fun() before.
Value
A VerticalRowsSection as returned by rtables::in_rows.
Details
In the column named n, the counts of the categories as well as an
optional Total count will be shown. In the column named percent, the
percentages of the categories will be shown, with an optional blank entry for
Total. In the column named cum_percent, the cumulative percentages will
be shown instead.