pretty_within | R Documentation |
A wrapper for pretty
.
pretty_within(x, min.n = 5, xrange = range(x, na.rm = TRUE), ...)
x |
Numeric vector passed to |
min.n |
Integer scalar passed to |
xrange |
Numeric vector of length 2. Indicates the range in which the output vector should lie on. |
... |
Further arguments passed to the method. The only difference with
|
A vector sequence of 'n + 1' round values in the specified range.
# Simple example ------------------------------------------------------------
set.seed(3331)
x <- runif(10)
pretty(x)
pretty_within(x)
range(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.