c_proportion_logical {junco} | R Documentation |
c_function for proportion of TRUE
in logical vector
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 column N. Note that we don't use here .alt_df because that might not have required row split variables available.
Usage
c_proportion_logical(x, labelstr, label_fstr, format, .N_col)
Arguments
x |
( |
labelstr |
( |
label_fstr |
( |
format |
( |
.N_col |
( |
Value
The rtables::in_rows()
result with the proportion statistics.
See Also
s_proportion_logical()
for the related statistics function.
[Package junco version 0.1.1 Index]