cmp_cfun {junco} | R Documentation |
Summary Analysis Function for Compliance Columns (TEFSCNCMP01 e.g.)
Description
A simple statistics function which prepares the numbers with percentages in the required format, for use in a split content row. The denominator here is from the expected visits column.
Usage
cmp_cfun(df, labelstr, .spl_context, variables, formats)
Arguments
df |
( |
labelstr |
( |
.spl_context |
( |
variables |
( |
formats |
( |
Details
Although this function just returns NULL
it has two uses, for
the tern
users it provides a documentation of arguments that are
commonly and consistently used in the framework. For the developer it adds a
single reference point to import the roxygen
argument description with:
@inheritParams proposal_argument_convention
Value
The rtables::in_rows()
result with the counts and proportion statistics.
See Also
cmp_post_fun()
for the corresponding split function.