scaler: Scales a numeric feature using the max approach

Description Usage Arguments Value Author(s) Examples

View source: R/scaler.R

Description

Scales a numeric feature using the max approach

Usage

1
scaler(df, numFeats, autoCode = TRUE)

Arguments

df

[data.frame | Required] Data.frame object containing numeric features

numFeats

[character vector | Required] Character vector specifying the numeric features on which scaling should be applied

autoCode

[logical | Optional] Should code be produced when running this function

Value

List object containng a data.frame with scaled numeric features and all other features contained in the dataset as well as a list containing code

Author(s)

Xander Horn

Examples

1
new_iris <- scaler(df = iris, numFeats = names(iris)[1:4])

XanderHorn/autoML documentation built on Aug. 5, 2020, 11:45 a.m.