View source: R/datePartFactors.R
quarterFactor | R Documentation |
Create quarter-of-year factor from zoo or xts object
Returns a factor with four levels (Q1, Q2, Q3, Q4), taken from index of the parameter.
quarterFactor(z)
z |
A zoo or xts object |
A factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.