Render Cell Suppression (Missing)
render_cell_suppression.missing.Rd
This is a custom render for table1
missing variables which performs GEMINI
"cell suppression" for any variable levels which contain fewer than 6 observations.
This is useful when you have an indicator variable for example, and you would like to
count the total number of events. [table1::render.default.categorical()]
will break
down the indicator variable into its components first (0 and 1) and then give you individual
counts. This will simply count 1s (for example).
Arguments
- x
(
character
orfactor
)
A variable with missing values to summarize.- ...
Further arguments, passed totable1:::stats.apply.rounding()
andprettyNum()
for additional formatting (e.g.,big.mark = ","
).