Here we just split into 3 columns for expected, received and missing visits.
cmp_post_fun(ret, spl, fulldf, .spl_context)cmp_split_fun(df, spl, vals = NULL, labels = NULL, trim = FALSE, .spl_context)
a split function for use with rtables::split_rows_by
when creating proportion-based tables with compliance columns.
(list)
result from previous split function steps.
(split)
split object.
(data.frame)
full data frame.
(data.frame)
gives information about ancestor split states
that is passed by rtables.
(data.frame)
data set containing all analysis variables.
(character)
values to use for the split.
(named character)
labels for the statistics (without indent).
(logical)
whether to trim the values.
rtables::make_split_fun() describing the requirements for this kind of
post-processing function.