Forked from Jayme Bird's Pen TEN24 Consulting.
A Pen by Anita Owens on CodePen.
| advertising | price | forecast | |
|---|---|---|---|
| Low | PriceLow | 29.67 | |
| Low | PriceMedium | 19 | |
| Low | PriceHigh | 14 | |
| Medium | PriceLow | 30 | |
| Medium | PriceMedium | 22.67 | |
| Medium | PriceHigh | 13 | |
| High | PriceLow | 51 | |
| High | PriceMedium | 35.33 | |
| High | PriceHigh | 13 |
| Sales with: | Forecast | |
|---|---|---|
| No advertising | 80.67 | |
| With advertising | 158.33 | |
| No coupon | 109 | |
| With coupon | 130 |
| --- | |
| title: "Forecasting with ANOVA in R" | |
| output: | |
| html_document: | |
| df_print: paged | |
| --- | |
| ## How use one-way ANOVA for forecasting in R | |
| #Step 5 (Alternative): Specify the h or horizon to get a forecast into the future, but if using xregs (independent regressors), you must create a new dataframe with the xregs. | |
| #forecast on the new tibble | |
| forecast_tbl_future_data <- calibration_tbl %>% | |
| modeltime_forecast( | |
| new_data = explanatory_data | |
| ) | |
| #plot forecast for the next 3 months | |
| plot_modeltime_forecast(forecast_tbl, .interactive = TRUE) |
Forked from Jayme Bird's Pen TEN24 Consulting.
A Pen by Anita Owens on CodePen.
A Pen by Luca Malattia on CodePen.
Trying to make a minimal portfolio project page with an image cover à la Medium.com (of course it's about a kitten). No Javascript.
A Pen by Damiano Gui on CodePen.
Create and edit an HTML5 table without the use of a library. Uses HTML5's contenteditable and minimal JavaScript.
Forked from Ash Blue's Pen HTML5 Editable Table.
A Pen by Anita Owens on CodePen.