scale_matrix | R Documentation |
Scale a matrix
scale_matrix(x, mean_x = NULL, sd_x = NULL, intercept = F)
x |
The matrix to be scaled |
mean_x |
The means to subtract. Will be computed if NULL |
sd_x |
The standard deviation to devide. Will be computed if NULL |
intercept |
Indicates if the first column of x is an intercept (all 1's) |
A list containing the scaled matrix, and the mean and standard deviations used by scaling
For Internal Use
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.