describe_cat | R Documentation |
Describe categorical variable
describe_cat(data, var, n, max_cat = 10, out = "text", margin = 0)
data |
A dataset |
var |
Variable or variable name |
n |
Weights variable for count-data |
max_cat |
Maximum number of categories displayed |
out |
Output format ("text"|"list"|"tibble"|"df") |
margin |
Left margin for text output (number of spaces) |
Description as text or list
describe_cat(iris, Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.