prophet.Rd (prophet-0.7) | : | prophet.Rd (prophet-1.0) | ||
---|---|---|---|---|

skipping to change at line 35 | skipping to change at line 35 | |||

... | ... | |||

) | ) | |||

} | } | |||

\arguments{ | \arguments{ | |||

\item{df}{(optional) Dataframe containing the history. Must have columns ds | \item{df}{(optional) Dataframe containing the history. Must have columns ds | |||

(date type) and y, the time series. If growth is logistic, then df must | (date type) and y, the time series. If growth is logistic, then df must | |||

also have a column cap that specifies the capacity at each ds. If not | also have a column cap that specifies the capacity at each ds. If not | |||

provided, then the model object will be instantiated but not fit; use | provided, then the model object will be instantiated but not fit; use | |||

fit.prophet(m, df) to fit the model.} | fit.prophet(m, df) to fit the model.} | |||

\item{growth}{String 'linear' or 'logistic' to specify a linear or logistic | \item{growth}{String 'linear', 'logistic', or 'flat' to specify a linear, logist | |||

trend.} | ic | |||

or flat trend.} | ||||

\item{changepoints}{Vector of dates at which to include potential | \item{changepoints}{Vector of dates at which to include potential | |||

changepoints. If not specified, potential changepoints are selected | changepoints. If not specified, potential changepoints are selected | |||

automatically.} | automatically.} | |||

\item{n.changepoints}{Number of potential changepoints to include. Not used | \item{n.changepoints}{Number of potential changepoints to include. Not used | |||

if input `changepoints` is supplied. If `changepoints` is not supplied, | if input `changepoints` is supplied. If `changepoints` is not supplied, | |||

then n.changepoints potential changepoints are selected uniformly from the | then n.changepoints potential changepoints are selected uniformly from the | |||

first `changepoint.range` proportion of df$ds.} | first `changepoint.range` proportion of df$ds.} | |||

End of changes. 1 change blocks. | ||||

2 lines changed or deleted | | 3 lines changed or added |