R/specials.R
special_xreg.Rd
Helper special for producing a model matrix of exogenous regressors
special_xreg(...)
Currently the fable_xreg_matrix
helper supports a single argument named
default_intercept
. If this argument is TRUE (passed via ...
above), then
the intercept will be returned in the matrix if not specified (much like the
behaviour of lm()
). If FALSE, then the intercept will only be included if
explicitly requested via 1
in the formula.