Render Cell Suppression (Strata)
render_cell_suppression.strat.Rd
This is a custom render for table1
stratification variables which performs GEMINI
"cell suppression" for any levels which contain fewer than 6 observations.
Note that even with strata variable cell suppression, it is possible to reverse-calculate
the total given the overall column. Therefore it is recommended to also hide the "Overall"
column in the call to table1::table1()
.
Arguments
- label
(
character
)
A character vector containing the labels.- n
(
numeric
orcharacter
)
A numeric vector containing the sizes.- transpose
(
logical
)
Used internally bytable1::table1()
.
Note
Arguments from this function should not be passed directly and are defined here
to work internally with table1::table1()
.