Description Usage Arguments Value Examples
Center (and scale) a matrix 'inplace'. The function is meant for big matrices that shall be scaled inplace, hence without creating a copy
1 | cscale_inplace(X, means = NULL, vars = NULL, scale=FALSE)
|
X |
numeric matrix |
means |
numeric vector, if ommitted will be computed using codeccolmv |
vars |
numeric vector, if ommitted will be computed using |
scale |
boolean - scale the matrix |
nothing, function works 'inplace'
1 2 3 4 5 6 7 8 | ## Not run:
# generate random data
rand_data(500,5000)
# scale matrix
cscale_inplace(M,scale=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.