prophet/R/man/sample_model.Rd
2018-05-15 10:07:38 -07:00

28 lines
738 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prophet.R
\name{sample_model}
\alias{sample_model}
\title{Simulate observations from the extrapolated generative model.}
\usage{
sample_model(m, df, seasonal.features, iteration, s_a, s_m)
}
\arguments{
\item{m}{Prophet object.}
\item{df}{Prediction dataframe.}
\item{seasonal.features}{Data frame of seasonal features}
\item{iteration}{Int sampling iteration to use parameters from.}
\item{s_a}{Indicator vector for additive components}
\item{s_m}{Indicator vector for multiplicative components}
}
\value{
List of trend and yhat, each a vector like df$t.
}
\description{
Simulate observations from the extrapolated generative model.
}
\keyword{internal}