View source: R/pretty_axis_support.R
pretty_seq | R Documentation |
This function defines a pretty sequence given data, limits and parameters.
pretty_seq(x, lim = NULL, pretty_args = list(n = 5))
x |
An object representing some data to be plotted (e.g., x values). |
lim |
(optional) A vector of length two which define the limits within which the sequence should lie. |
pretty_args |
A named list of arguments passed to pretty_x(). |
A list comprising 'at', a pretty sequence; and 'lim', limits, which may have been adjusted.
Edward Lavender
pretty_seq(0:10)
pretty_seq(0:10, lim = c(0, 9))
pretty_seq(seq.Date(as.Date("2016-01-01"), as.Date("2016-01-12"), 1))
pretty_seq(seq.Date(as.Date("2016-01-01"), as.Date("2016-01-12"), 1), pretty_args = list(n = 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.