quarter | R Documentation |
Quarter of a date vector
quarter(d)
d |
a vector of dates |
The quarter (1, 2, 3, or 4) each date in d
falls in.
quarter(as.Date('2022-01-14'))
quarter(ISOdate(1923, 12, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.