Standardized matrix.
The object is an S4 class with methods for efficient computation by adelie.
Conventions depend on the matrix class. For example, if a matrix is constructed using matrix.onehot(), only the quantitative variables are standardized.
Arguments
mat
An adelie matrix.
centers
The center values. Default is to use the column means.
scales
The scale values. Default is to use the sample standard deviations.
weights
Observation weight vector, which defaults to 1/n per observation.
ddof
Degrees of freedom for standard deviations, with default 0 (1/n). The alternative is 1 leading to 1/(n-1).
n_threads
Number of threads.
Author
James Yang, Trevor Hastie, and Balasubramanian Narasimhan Maintainer: Trevor Hastie hastie@stanford.edu