fixcat: Fix Categories

Description Usage Arguments Value Examples

Description

Groups small categories into a new bucket. Useful for preventing over-fitting on small categories.

Usage

1
fixcat(x, minimum.cat.size = 15, other.name = "Other")

Arguments

x

Data frame or tibble.

minimum.cat.size

Minimum size for a category to not get grouped with other small categories.

other.name

Value name for the group of small categories.

Value

Data frame with modified columns.

Examples

1

superchordate/bc documentation built on June 20, 2019, 4:05 p.m.