Jet Forecaster

cal_wkly_mu_sd | Compute the weekly mean and standard deviation based on... |

compile_stan_model | Compile Stan model |

df_for_plotting | Merge history and forecast for plotting. |

fit | Jet forecaster. |

fit.jtf | #' Initialize logistic growth. #' #' Provides a strong... |

forecast | Forecast using the jtf model. |

fourier_series | Provides Fourier series components with the specified... |

get_changepoint_matrix | Gets changepoint matrix for history dataframe. |

get_prophet_stan_model | Load compiled Stan model |

hello | Hello, World! |

linear_growth_init | Initialize linear growth. |

make_all_seasonality_features | Dataframe with seasonality features. |

make_future_dt | Make dataframe with future dates for forecasting |

make_holiday_features | Construct a matrix of holiday features. |

make_seasonality_features | Data frame with seasonality features. |

multiplot | Multiple plot function |

piecewise_linear | Evaluate the piecewise linear function. |

plot_all_components | Plot the components of a prophet forecast. Prints a ggplot2... |

plot_error | Plot the discrepancy |

plot_forecast | Plot the prophet forecast. |

plot_holidays | Plot the holidays component of the forecast. |

plot_trend | Plot the prophet trend. |

plot_weekly | Plot the weekly component of the forecast. |

plot_yearly | Plot the yearly component of the forecast. |

predict_seasonal_components | Predict seasonality broken down into components. |

predict_uncertainty | jtf uncertainty intervals. |

r_square | calculate r_sq statistics |

sample_model | Simulate observations from the extrapolated generative model. |

sample_predictive_trend | Simulate the trend using the extrapolated generative model. |

set_auto_seasonalities | Set seasonalities that were left on auto. |

set_changepoints | Set changepoints |

setup_dataframe | Prepare dataframe for fitting or predicting. |

trnsfrm | #' Make dataframe with future dates for forecasting. #' #'... |

validate_inputs | Validates the inputs to jtf. |

where | Apply a boolean function to each entry of x |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.