mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-09-15 22:10:22 +00:00
Add link to main site from vignette
This commit is contained in:
parent
371e8a3bf4
commit
d589859295
1 changed files with 2 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ library(prophet)
|
||||||
library(dplyr)
|
library(dplyr)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This document provides a very brief introduction to the Prophet API. For a detailed guide on using Prophet, please visit the main site at [https://facebook.github.io/prophet/](https://facebook.github.io/prophet/).
|
||||||
|
|
||||||
Prophet uses the normal model fitting API. We provide a `prophet` function that performs fitting and returns a model object. You can then call `predict` and `plot` on this model object.
|
Prophet uses the normal model fitting API. We provide a `prophet` function that performs fitting and returns a model object. You can then call `predict` and `plot` on this model object.
|
||||||
|
|
||||||
|
|
@ -50,7 +51,7 @@ You can use the generic `plot` function to plot the forecast, but you must also
|
||||||
plot(m, forecast)
|
plot(m, forecast)
|
||||||
```
|
```
|
||||||
|
|
||||||
Just as in Python, you can plot the components of the forecast. In R, you use the `prophet_plot_components` function instead of an instance method:
|
You can plot the components of the forecast using the `prophet_plot_components` function:
|
||||||
|
|
||||||
```{r}
|
```{r}
|
||||||
prophet_plot_components(m, forecast)
|
prophet_plot_components(m, forecast)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue