fq_short | R Documentation |
Formats date from date or POSIX class to a text string giving the financial quarter as integer from 1 to 4.
fq_short(date_var)
date_var |
A date variable in class Date or POSIX |
A text string giving the financial quarter, where April to June is quarter 1 and January to March is quarter 4.
x <- lubridate::dmy("01/01/2001")
fq_short(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.