View source: R/colby_constructors.R
counts_wpcts | R Documentation |
Analysis function to count levels of a factor with percentage of the column total
counts_wpcts(x, .N_col)
x |
factor. Vector of data, provided by rtables pagination machinery |
.N_col |
integer(1). Total count for the column, provided by rtables pagination machinery |
A RowsVerticalSection
object with counts (and percents) for each level of the factor
counts_wpcts(DM$SEX, 400)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.