Description Usage Arguments Value Examples
Since atomic objects can only have one type, it is unnecessary to check the type of
each element in the vector. This function checks the type on the vector level to
determine whether it needs to operate parse_date_time for d on a
vectorized basis.
1 |
d |
vector of elements that may or may not be type Date |
Date type vector with NA for a particular element in d if it were
not parsable
1 2 | try_parse_date(as.Date(c("2015-01-01","2015-08-08")))
try_parse_date(c("2015-01-01","blah"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.