Description Usage Arguments Value Examples
Table showing counts for one or more categorical variables.
Table showing counts for one or more categorical variables.
1 2 3 |
data |
A data frame |
group |
An optional grouping variable. |
data |
A data frame |
group |
An optional grouping variable. |
A flextable
with descriptive statistics (N, percent, range)
for all variables in the supplied data.frame
.
A flextable
with descriptive statistics (N, percent, range)
for all variables in the supplied data.frame
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data(mtcars)
mtcars %>%
select(cyl, vs) %>%
table_of_counts()
mtcars %>%
select(cyl, vs, am) %>%
table_of_counts(cyl)
data(mtcars)
mtcars %>%
select(cyl, vs) %>%
table_of_counts()
mtcars %>%
select(cyl, vs, am) %>%
table_of_counts(cyl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.