Description Usage Arguments Value Examples
Convert month/day/year date stamps, like 5/31/2016, or other permutations of
those positions (e.g., 31/5/2016, 2016/5/31), to the ISO 8601 standard of
YYY-MM-DD. Any NA values in output that do not have associated blank or NA
values in input trigger an error. This is just a wrapper around
as.Date
to help with formatting and error checking.
1 |
datetxt |
character vector of dates |
ord_input |
character vector containing the values "M", "D", and "Y" ordered to specify the month, date, and year fields |
character vector of ISO 8601-formatted date stamps
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.