mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-05-18 21:21:22 +00:00
23 lines
618 B
R
23 lines
618 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.
|
|
holiday.names: array of names of all holidays.
|
|
}
|
|
\description{
|
|
Construct a matrix of holiday features.
|
|
}
|
|
\keyword{internal}
|