Learn R Programming

pbdDMAT (version 0.5-1)

ddmatrix-scale: Scale

Description

Centers and/or scales the columns of a distributed matrix.

Usage

scale(x, center = TRUE, scale = TRUE)

# S4 method for ddmatrix scale(x, center = TRUE, scale = TRUE)

Arguments

x

numeric distributed matrix.

center

logical value, determines whether or not columns are zero centered

scale

logical value, determines whether or not columns are rescaled to unit variance

Value

Returns a distributed matrix.