describe_cat {explore} | R Documentation |
Describe categorical variable
Description
Describe categorical variable
Usage
describe_cat(data, var, n, max_cat = 10, out = "text", margin = 0)
Arguments
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) |
Value
Description as text or list
Examples
describe_cat(iris, Species)
[Package explore version 1.3.1 Index]