facebookexperimental / Robyn

Robyn is an experimental, AI/ML-powered and open sourced Marketing Mix Modeling (MMM) package from Meta Marketing Science. Our mission is to democratise modeling knowledge, inspire the industry through innovation, reduce human bias in the modeling process & build a strong open source marketing science community.
https://facebookexperimental.github.io/Robyn/
MIT License
1.08k stars 322 forks source link

fix: crashed cut() when monthly data #868

Closed laresbernardo closed 7 months ago

laresbernardo commented 7 months ago

Issue with holidays data when monthly granularity fixed.

Error in mutate(., ds = cut(.data$ds, intervalType)) : 
  ℹ In argument: `ds = cut(.data$ds, intervalType)`.
Caused by error in `cut.default()`:
! 'x' must be numeric