cmp_post_fun {junco} | R Documentation |
Split Function for Compliance Columns (TEFSCNCMP01 e.g.)
Description
Here we just split into 3 columns for expected, received and missing visits.
Usage
cmp_post_fun(ret, spl, fulldf, .spl_context)
cmp_split_fun(df, spl, vals = NULL, labels = NULL, trim = FALSE, .spl_context)
Arguments
ret |
( |
spl |
( |
fulldf |
( |
.spl_context |
( |
df |
( |
vals |
( |
labels |
(named |
trim |
( |
Value
a split function for use with rtables::split_rows_by when creating proportion-based tables with compliance columns.
Note
This split function is used in the proportion table TEFSCNCMP01 and similar ones.
See Also
rtables::make_split_fun()
describing the requirements for this kind of
post-processing function.