Description Usage Arguments Details Value Examples
Test if input is a date-like object
1 | is.DateLike(x)
|
x |
Input to test |
Test if input is one of my favorite date-like objects. In other words,
a Date
, or a POSIX*
.
Boolean
1 2 3 4 5 6 | dtstr <- c("1969-08-03", "2011-06-24")
is.DateLike("AAA")
is.DateLike(251)
is.DateLike(as.Date(dtstr))
is.DateLike(strptime(dtstr, "\%Y-\%m-\%d"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.