Description Usage Arguments Value Examples
Extract numeric months of the year from a Date, POSIXct or POSIXlt vector.
1 | Months(x, string = TRUE, abbreviate = FALSE)
|
x |
Date, POSIXct or POSIXlt vector |
string |
Logical, if TRUE months string is returned, otherwise numeric |
abbreviate |
logical. Should the months in string format be abbreviated? |
A vector with extracted months.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.