mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-25 22:26:34 +00:00
22 lines
570 B
R
22 lines
570 B
R
% 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)
|
|
}
|
|
\arguments{
|
|
\item{m}{Prophet object.}
|
|
|
|
\item{dates}{Vector with dates used for computing seasonality.}
|
|
}
|
|
\value{
|
|
A list with entries
|
|
holiday.features: dataframe with a column for each holiday.
|
|
prior.scales: array of prior scales for each holiday column.
|
|
}
|
|
\description{
|
|
Construct a matrix of holiday features.
|
|
}
|
|
\keyword{internal}
|