nice_frequencies.Rd
Table with frequency statistics
nice_frequencies(
data,
grouping = NULL,
label = NULL,
label_grouping = NULL,
show_missing = TRUE,
show_percent = TRUE,
auto_labels = TRUE,
title = NULL,
footnote = NULL,
file = NULL,
...
)
Vector.
A grouping variable as a vector.
Set label for the variable name.
If TRUE, adds a row for the number of missing values.
If TRUE, adds a column for percentages.
If TRUE, variable names are taken from a label attribute.
Table title.
Table footnote.
Filename.
Further arguments passed to nice_table()
.
An html table with frequencies
nice_frequencies(wmisc:::mtcars_labeled[[11]])
Table
Frequency statistics of ‘Number of carburetors’
Number of carburetors
Frequency
Percent
nice_frequencies(
wmisc:::mtcars_labeled$cyl,
wmisc:::mtcars_labeled$am
)
Table
Frequency statistics of ‘Number of cylinders’ by ‘Transmission (0 = automatic, 1 = manual)’
0
1
0
1