prophet/R/man/sample_model.Rd

25 lines
628 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{sample_model}
\alias{sample_model}
\title{Simulate observations from the extrapolated generative model.}
\usage{
sample_model(m, df, seasonal.features, iteration)
}
\arguments{
\item{m}{Prophet object.}
\item{df}{Prediction dataframe.}
2017-02-22 23:59:43 +00:00
\item{seasonal.features}{Data frame of seasonal features}
\item{iteration}{Int sampling iteration to use parameters from.}
2017-02-22 23:59:43 +00:00
}
\value{
List of trend, seasonality, and yhat, each a vector like df$t.
}
\description{
Simulate observations from the extrapolated generative model.
}
\keyword{internal}