standardize_in_memory {plmmr} | R Documentation |
A helper function to standardize matrices
Description
A helper function to standardize matrices
Usage
standardize_in_memory(X)
Arguments
X |
a matrix |
Details
This function is adapted from https://github.com/pbreheny/ncvreg/blob/master/R/std.R
NOTE: this function returns a matrix in memory. For standardizing filebacked
data, use big_std()
– see src/big_standardize.cpp
Value
a list with the standardized matrix, vectors with the centering/scaling values, and a vector with the indices of nonsingular columns
[Package plmmr version 4.2.1 Index]