convert_sequence | R Documentation |
This function provides a sequence (seq()
) method for messydates.
This can be used with ranges or unspecified dates,
and is particularly useful for defining a sequence of dates
before the common era or between eras.
## S3 method for class 'mdate'
seq(from, to, by = "days", ...)
from |
A messydate or range. If 'from' is a range and 'to' is not specified, 'from' will be the minimum of the range and 'to' will be maximum. |
to |
A messydate. |
by |
Increment of the sequence. By default "days". |
... |
Arguments passed to or from methods. |
seq(mdate("-0001-12-20"), mdate("0001-01-10"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.