prophet/R/man/make_holiday_features.Rd

27 lines
721 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{make_holiday_features}
\alias{make_holiday_features}
\title{Construct a matrix of holiday features.}
\usage{
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.}
\item{holidays}{Dataframe containing holidays, as returned by
construct_holiday_dataframe.}
2017-02-22 23:59:43 +00:00
}
\value{
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.
}
\keyword{internal}