tidyverts / fabletools

General fable features useful for extension packages
http://fabletools.tidyverts.org/
89 stars 31 forks source link

common_xregs not available? #344

Closed bhonz closed 2 years ago

bhonz commented 2 years ago

It appears to me that common_xregs() is not available. NEWS says it was moved from fable to fabletools with 0.3.1. I am using 0.3.2 and all other packages installed very recently. I am getting "attempt to apply non-function" from fabletools. Any other explanation? Thanks for any help,

common_xregs unavailable 1-26-22

mitchelloharawild commented 2 years ago

common_xregs is not a function, but instead is a list of functions useful for exogenous regressors in a model. Specifically, it allows you to use trend(), season(), and fourier() as regression terms in a model.

mitchelloharawild commented 2 years ago

For example, TSLM(y ~ trend() + season()).

bhonz commented 2 years ago

Thanks for your quick response and for correcting my thinking. I am finally making some progress!