Description Usage Arguments Value Author(s) See Also Examples
This method reformats a date string for R packages as these can be very heterogenous defined in the DESCRIPTION files of packages.
1 2 3 4 | normalizeDate(d, asDate = TRUE, months = c(jan = "january", feb =
"februrary", mar = "march", apr = "april", may = "may", jun = "june", jul
= "july", aug = "august", sep = "september", oct = "october", nov =
"november", dec = "december"))
|
d |
( |
asDate |
( |
months |
( |
(see Parameter asDate
) Reformatted date.
Matthias Pfeifer matthias.pfeifer@roche.com
1 2 3 | new_date <- normalizeDate("15.September.2018",FALSE)
stopifnot(new_date=="15.09.2018")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.