File: fit.prophet.Rd

package info (click to toggle)
r-cran-prophet 1.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 736 kB
  • sloc: sh: 13; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% 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, ...)
}
\arguments{
\item{m}{Prophet object.}

\item{df}{Data frame.}

\item{...}{Additional arguments passed to the \code{optimizing} or
\code{sampling} functions in Stan.}
}
\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.
}