View source: R/miscellaneous_functions.R
stretch_values | R Documentation |
Values above the mean of x
are made larger and
values below the mean are made smaller - each by
lambda * dist(x, mean(x))
.
stretch_values(x, lambda = 0)
x |
A numeric vector. |
lambda |
A numeric value. The stretching factor applied to |
A numeric vector of the size of x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.