make_holiday_features.Rd 721 B

123456789101112131415161718192021222324252627
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/prophet.R
  3. \name{make_holiday_features}
  4. \alias{make_holiday_features}
  5. \title{Construct a matrix of holiday features.}
  6. \usage{
  7. make_holiday_features(m, dates, holidays)
  8. }
  9. \arguments{
  10. \item{m}{Prophet object.}
  11. \item{dates}{Vector with dates used for computing seasonality.}
  12. \item{holidays}{Dataframe containing holidays, as returned by
  13. construct_holiday_dataframe.}
  14. }
  15. \value{
  16. A list with entries
  17. holiday.features: dataframe with a column for each holiday.
  18. prior.scales: array of prior scales for each holiday column.
  19. holiday.names: array of names of all holidays.
  20. }
  21. \description{
  22. Construct a matrix of holiday features.
  23. }
  24. \keyword{internal}