group_levels.default: Group infrequent factor levels

Description

The default group_levels does nothing. This is desirable behavior for any structure that is not a list, data.frame or factor: there is no meaningful way apply group_levels to this type of structure.

Usage

1
2
## Default S3 method:
group_levels(data, maximum_levels = 32)

Arguments

data

A data.frame or factor. In the first case, group_levels is applied to each factor in the data.frame.

maximum_levels

Numeric. The maximum number of levels allowed per factor


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.