scaling_mean | R Documentation |
Scale each variable (column) by the mean. Mean-scaling applied as (value - mean) / mean.
As scaling_UV
might give too much importance to flat trajectories due to the division by the standard deviation, by dividing by the mean, high intensity values will have a lower influence and the low intensity will be boosted.
scaling_mean(inputMat)
inputMat |
(Observation x Variable) |
Matrix of measurements mean-scaled columnwise.
## Not run:
inputMat <- data.frame(matrix(c(1,4,7, 8,4,0, 3,6,9), nrow=3))
scaling_mean(inputMat)
# X1 X2 X3
# [1,] -0.75 1 -0.5
# [2,] 0.00 0 0.0
# [3,] 0.75 -1 0.5
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.