encode_and_bind: One-hot encode categorical variables.

Description Usage Arguments Value

View source: R/Utilities.R View source: R/.ipynb_checkpoints/Utilities-checkpoint.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


stuagano/datapeek documentation built on July 2, 2020, 6:27 p.m.