encode_and_bind: One-hot encode categorical variables.

Description Usage Arguments Value

View source: R/utilities.R

Description

This function one-hot encodes categorical variables and binds the entire frame.

Usage

1
encode_and_bind(frame, feature_to_encode)

Arguments

data

frame

feature

to encode

Value

hot-encoded data frame


javiergodoy/datapeek documentation built on Nov. 4, 2019, 2:21 p.m.