Description Usage Arguments Details Value See Also Examples
Make labels with the format expected for an
object of class "DateRanges"
(as defined in the demarray package).
This function would not normally be called directly
by end users.
1 |
x |
A list of Date vectors. |
x
is a list of Date vectors of length 2.
If elements of a vector are non-NA, then the second
element must be later than the first.
The elements of x
are converted into
labels as follows:
Element | Label |
as.Date(c("2020-01-15", "2020-02-11")) | "[2020-01-15, 2020-02-10]" |
as.Date(c(NA, "2020-01-01")) | "(-Inf, 2019-12-31]" |
as.Date(c("2020-01-01", NA)) | "[2020-01-01, Inf)" |
as.Date(c(NA, NA)) | NA |
A character vector
make_labels_categories
,
make_labels_triangles
,
make_labels_directions
,
make_labels_quantiles
,
make_labels_integers
,
make_labels_intervals
,
make_labels_quantities
,
make_labels_quarters
,
make_labels_months
,
make_labels_datepoints
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.