invert_this | R Documentation |
invert_this
returns the inverse of a vector. For example, a decile of
10 becomes 1, and a decile 1 becomes 10. NA's are removed by default.
invert_this(x)
x |
Vector to be inverted. |
invert_this(c(1:3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.