prophet/R/man/fit.prophet.Rd

27 lines
769 B
Text
Raw Normal View History

2017-02-22 23:59:43 +00:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prophet.R
\name{fit.prophet}
\alias{fit.prophet}
\title{Fit the prophet model.}
\usage{
fit.prophet(m, df, ...)
2017-02-22 23:59:43 +00:00
}
\arguments{
\item{m}{Prophet object.}
\item{df}{Data frame.}
2017-02-24 17:33:19 +00:00
2017-04-08 02:09:24 +00:00
\item{...}{Additional arguments passed to the \code{optimizing} or
2017-02-24 17:33:19 +00:00
\code{sampling} functions in Stan.}
2017-02-22 23:59:43 +00:00
}
\description{
This sets m$params to contain the fitted model parameters. It is a list
with the following elements:
k (M array): M posterior samples of the initial slope.
m (M array): The initial intercept.
delta (MxN matrix): The slope change at each of N changepoints.
beta (MxK matrix): Coefficients for K seasonality features.
sigma_obs (M array): Noise level.
Note that M=1 if MAP estimation.
2017-02-22 23:59:43 +00:00
}