View source: R/month_to_quarter.R
month_to_quarter | R Documentation |
Build quarterly dataset from monthly dataset
month_to_quarter(X, start = NULL, end = NULL)
X |
A tibble/df with a |
start |
A character indicating the first date to keep, it must be of
the form |
end |
A character indicating the last date to keep, it must be of
the form |
A wider tibble/df with quarterly data. The new df contains one column for each month value (e.g. X_month1, X_month2, X_month3).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.