make_holiday_features.Rd 618 B

123456789101112131415161718192021222324
  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)
  8. }
  9. \arguments{
  10. \item{m}{Prophet object.}
  11. \item{dates}{Vector with dates used for computing seasonality.}
  12. }
  13. \value{
  14. A list with entries
  15. holiday.features: dataframe with a column for each holiday.
  16. prior.scales: array of prior scales for each holiday column.
  17. holiday.names: array of names of all holidays.
  18. }
  19. \description{
  20. Construct a matrix of holiday features.
  21. }
  22. \keyword{internal}