cutmondate-methods | R Documentation |
Methods to cut sequences of mondate, Date, and POSIXt objects.
This is essentially a wrapper for the cut.mondate
method
with more intuitive defaults for the arguments
depending on the object being cut.
signature(x = "mondate")
calls the cut.mondate function
signature(x = c("Date", "character"))
checks for breaks
= "months", "years", or "quarters".
If so, calls the cut.mondate function using x = mondate(x, displayFormat = "
otherwise, simply passes the arguments on to the cut.Date method.
The display argument to "mondate" ensures that the levels will display
according to the default "Date" format.
signature(x = c("Date", "missing"))
if breaks
is omitted, "months" is assumed.
signature(x = c("Date", "ANY"))
if breaks
is anything else,
the entire argument list is passed on to cut.Date.
signature(x = "POSIXt")
cutmondate is called again with x = as.Date(x).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.