GetMonthYear | R Documentation |
Get MonthYear (zoo) from a dataframe string formatted data column
GetMonthYear(datecol, datefmt = "%Y-%m-%d")
datecol |
A vector of string formatted dates |
datefmt |
Format of the date (default is Y-m-d) |
A vector with dates converted to MonthYear format (zoo::as.yearmon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.