R: Summarizes factors of a data.frame by tabling them.

summarizeLevels {mlr} | R Documentation

## Summarizes factors of a data.frame by tabling them.

### Description

Characters and logicals will be treated as factors.

### Usage

    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.

[Package mlr version 2.14.0 Index]