2017-02-22 23:59:43 +00:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
|
% Please edit documentation in R/prophet.R
|
|
|
|
|
\name{make_holiday_features}
|
|
|
|
|
\alias{make_holiday_features}
|
|
|
|
|
\title{Construct a matrix of holiday features.}
|
|
|
|
|
\usage{
|
2018-12-01 07:12:19 +00:00
|
|
|
make_holiday_features(m, dates, holidays)
|
2017-02-22 23:59:43 +00:00
|
|
|
}
|
|
|
|
|
\arguments{
|
|
|
|
|
\item{m}{Prophet object.}
|
|
|
|
|
|
|
|
|
|
\item{dates}{Vector with dates used for computing seasonality.}
|
2018-12-01 07:12:19 +00:00
|
|
|
|
|
|
|
|
\item{holidays}{Dataframe containing holidays, as returned by
|
|
|
|
|
construct_holiday_dataframe.}
|
2017-02-22 23:59:43 +00:00
|
|
|
}
|
|
|
|
|
\value{
|
2017-09-01 17:04:20 +00:00
|
|
|
A list with entries
|
|
|
|
|
holiday.features: dataframe with a column for each holiday.
|
|
|
|
|
prior.scales: array of prior scales for each holiday column.
|
2018-05-15 17:07:38 +00:00
|
|
|
holiday.names: array of names of all holidays.
|
2017-02-22 23:59:43 +00:00
|
|
|
}
|
|
|
|
|
\description{
|
|
|
|
|
Construct a matrix of holiday features.
|
|
|
|
|
}
|
2017-07-29 05:03:27 +00:00
|
|
|
\keyword{internal}
|