Description Usage Arguments Details Value Author(s)
Spreads a vector of numeric values out by increasing any intervals smaller than mindist.
1 | spreadout(x,mindist)
|
x |
A numeric vector that may contain NAs. |
mindist |
The minimum interval allowed in the output. |
spreadout orders the vector x and begins at the middle, increasing any intervals between values to mindist. The function is designed to avoid crowding of labels on a plot, but may have other uses.
New values with a minimum interval of mindist. NAs are preserved.
Jim Lemon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.