Description Usage Arguments Value Examples
Find which elements in a vector of year months form complete quarters/years.
1 2 3 |
x |
A vector of dates, or something that can be coerced into one. |
A logical vector, the same length as x
, that is TRUE
whenever an element of x
corresponds to a complete quarter/year in x
, FALSE
otherwise.
1 2 3 4 5 | x <- seq(as.Date("2018-01-01"), as.Date("2019-11-01"), "month")
complete_quarters(x)
complete_years(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.