date_to_ym | R Documentation |
Date to period string
date_to_ym(d = as.Date(c("2009-02-01", "2019-12-01")))
d |
yyyy-mm-dd or any valid date or string coercible to date |
dtp <- date_to_ym(as.Date(c("2009-02-01", "2019-12-01"))) dtp class(dtp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.