View source: R/load_prostate_redcap.R
guessdate | R Documentation |
Uses parse_date_time
to transform string vectors with different date formats into
an R date vector, printed in ISO format.
If only the year is provided, then
the date will be set as June 30 of that year.
guessdate(messydate)
messydate |
Date in the format MM/DD/YYYY, MM/YYYY, or YYYY only. |
Date vector in ISO date notation.
guessdate(c("03/28/2019", "03/2019", "03/19", "2019"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.