mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-17 21:10:45 +00:00
21 lines
559 B
R
21 lines
559 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/prophet.R
|
|
\name{predictive_samples}
|
|
\alias{predictive_samples}
|
|
\title{Sample from the posterior predictive distribution.}
|
|
\usage{
|
|
predictive_samples(m, df)
|
|
}
|
|
\arguments{
|
|
\item{m}{Prophet object.}
|
|
|
|
\item{df}{Dataframe with dates for predictions (column ds), and capacity
|
|
(column cap) if logistic growth.}
|
|
}
|
|
\value{
|
|
A list with items "trend" and "yhat" containing
|
|
posterior predictive samples for that component.
|
|
}
|
|
\description{
|
|
Sample from the posterior predictive distribution.
|
|
}
|