cat2bool: Convert Categorical Variables to Booleans.

Description Usage Arguments Value Examples

Description

Convert Categorical Variables to Booleans.

Usage

1
2
cat2bool(x, match.to = NULL, make.names = TRUE, ignore.cols = c(),
  other.name = "Other")

Arguments

x

Dataframe or tibble.

match.to

Data frame to match the values to. This will ensure consistent columns for modeling.

ignore.cols

Columns to ignore.

Value

Modified data.

Examples

1

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