numberize: Scale and One-Hot Encode Data Frames

Description Usage Arguments Value Examples

Description

Takes a data frame and converts all numeric variables to a scale from 0 to 1 and converts all character and factor variables to a one-hot encoded structure

Usage

1

Arguments

df

a data frame for conversion

Value

a data frame

Examples

1
2
3
4
## Not run: 
 numberize(iris)

## End(Not run)

AFIT-R/OPER782 documentation built on May 7, 2019, 7:58 a.m.