autoscale: Mean-center and scale the column of a matrix

Description Usage Arguments Value

View source: R/autoscale.R

Description

Mean-center and scale the column of a matrix

Usage

1
autoscale(x, xmi = NA, xmo = NA, robust = F)

Arguments

x

matrix

xmi

matrix indicating which values are missing in x

xmo

value that represents missings in the returned matrix

robust

logical indicating whether to use IQR(column_x) / 1.35 or just the standard deviation (sd).

Value

a matrix in which the columns are mean-centered and scaled.#'


mkampert/rCOSA documentation built on Dec. 23, 2019, 8:21 p.m.