Characters and logicals will be treated as factors.

summarizeLevels(obj, cols = NULL)

Arguments

obj

(data.frame | Task)
Input data.

cols

(character)
Restrict result to columns in cols. Default is all factor, character and logical columns of obj.

Value

(list). Named list of tables.

See also

Examples

summarizeLevels(iris)
#> $Species #> #> setosa versicolor virginica #> 50 50 50 #>