first_of_month | R Documentation |
Get First / Last Day of a Month
Get First or Last Day of Month From Year and Month
first_of_month(x) ## Default S3 method: first_of_month(x) last_of_month(x) ## Default S3 method: last_of_month(x) first_of_ym(x, m = NULL) last_of_ym(x, m = NULL)
x |
Anything that can be coerced to a date with |
m |
Two integer (vectors).
|
a Date
first_of_month()
first_of_month("2016-06-04") last_of_month("2016-06-04") first_of_ym(2016, 1) first_of_ym(201601)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.