View source: R/invert.vector.R
invert.vector | R Documentation |
Inverts a linear vector x, setting min(x) = min(x) and vice versa. Values in between are assumed to be linear values along the scale between min(x) and max(x).
invert.vector(x)
x |
a numeric vector to be inverted |
a numeric vector with length = length(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.