standardize: Standardize a matrix

Description Usage Arguments Author(s)

Description

The function takes a matrix and two standardization vectors and standardizes the variables based on subtracting the first standardization vector from the appropriate columns and then dividing by the second standarization parameter.

Usage

1
standardize(x, std.vec1, std.vec2)

Arguments

x

matrix to standardize

std.vec1

vector to subtract from columns

std.vec2

vector to divide the columns

Author(s)

Dan Putler


alteryx/AlteryxPredictive documentation built on May 12, 2019, 1:37 a.m.