is a revised version of prophet that combine some other functions from xts package for dealing data.frame, multiple variables and adding group variables. return the history data and graphs as well as predicted graph using prophet.
1 2 3 |
data |
data.frame |
tsVar |
ts variable |
tsFormat |
could be 'ymd','ym','y','mdy','ymd hms', etc. |
measureVars |
measurement variables in data. |
groupVars |
grouping variables in data |
Period |
could be 'years','quarters','months','weeks','days','hours','minutes','seconds',etc. |
FN |
function eg: 'mean','function(x)sum(x,na.rm=T)',etc. |
Cap |
same as cap in prophet. |
Floor |
same as floor in prophet. |
Growth |
same as growth in prophet. |
H |
same as h in prophet. |
yearlyS |
TRUE,FALSE or "auto", same as yearly.seasonality in prophet. |
dailyS |
TRUE,FALSE or "auto", same as daily.seasonality in prophet. |
weeklyS |
TRUE,FALSE or "auto", same as weekly.seasonality in prophet. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.