scaling_UV | R Documentation |
Unit-Variance (UV) scale each variable (column). UV-scaling applied as (value - mean) / stdev. Unit-Variance Scaling or Autoscaling, is commonly applied and uses the standard deviation as the scaling factor. After autoscaling, all metabolites have a standard deviation of one and therefore the data is analyzed on the basis of correlations instead of covariances.
scaling_UV(inputMat)
inputMat |
(Observation x Variable) |
Matrix of measurements UV-scaled columnwise.
## Not run:
inputMat <- data.frame(matrix(c(1,4,7, 8,4,0, 3,6,9), nrow=3))
scaling_UV(inputMat)
# X1 X2 X3
# [1,] -1 1 -1
# [2,] 0 0 0
# [3,] 1 -1 1
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.