View source: R/time_intelligence_classes.R
qoq | R Documentation |
A short description...
qoq(.data, .date, .value, calendar_type, lag_n = 1)
.data |
tibble or dbi object (either grouped or ungrouped) |
.date |
the date column to group by |
.value |
the value column to summarize |
calendar_type |
select either 'standard' or '5-5-4' calendar, see 'Details' for additional information |
lag_n |
the number of periods to lag |
ti object
Other time_intelligence:
atd()
,
dod()
,
mom()
,
momtd()
,
mtd()
,
mtdopm()
,
pmtd()
,
pqtd()
,
pwtd()
,
pytd()
,
qoqtd()
,
qtd()
,
qtdopq()
,
wow()
,
wowtd()
,
wtd()
,
wtdopw()
,
yoy()
,
yoytd()
,
ytd()
,
ytdopy()
qoq(sales,.date=order_date,.value=quantity,calendar_type='standard',lag_n=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.