normalize | R Documentation |
Normalize rows or columns by its standard deviation.
normalize(x, normalize = 0, ...)
x |
|
normalize |
A numeric value indicating along what direction (rows, columns)
to normalize by standard deviations. |
... |
Not evaluated. |
Not yet defined TODO!
x <- matrix(sample(1:5, 20, rep = TRUE), 4)
normalize(x, 1) # normalizing rows
normalize(x, 2) # normalizing columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.