plus_minus | R Documentation |
Get a vector of numbers from (x-n) to (x+n).
plus_minus(x, n)
x |
Integer, the number at the center of the vector |
n |
Integer, the number of places to expand the vector on either side of x |
Numeric vector
plus_minus(4, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.