scale_data: Scale Data

Description Usage Arguments Value

View source: R/classify_utils.R

Description

A function that takes a data set and scals it based on the scaling parameters that have already been calculated elsewhere.

Usage

1
scale_data(mDat, dataScales)

Arguments

mDat

A data frame that defines the data set used to build the model which is currently UNSCALED.

dataScales

A list which contains multiple information, including sMax and sMin which define the bounds of the dataScale$commentaries values.

Value

A data frame the same size as mDat, which has now been scaled.


niallbenj/footballstats documentation built on Aug. 13, 2019, 5:12 p.m.