getScale {cocons} | R Documentation |
Fast and simple standardization for the design matrix.
Description
Centers and scale the design matrix.
Usage
getScale(x, mean.vector = NULL, sd.vector = NULL)
Arguments
x |
|
mean.vector |
|
sd.vector |
|
Value
(list
) a list with a scaled design matrix of dimension n x (p+1), and a set of mean and sd vectors
employed to scale the matrix
Author(s)
Federico Blasi
[Package cocons version 0.1.4 Index]