Closed wkdavis closed 4 years ago
fable does not currently support the .
interface for model building.
At this point I'm not planning on adding the .
, instead opting for more of a recipes style of changing the model specification.
This is partially because semantically .
is also used for %>%
, and the difference between .
in the formula and .
in the model specification could be confusing. Further, .
has some surprising behaviour with the na.action
used when variables are removed with -
.
Thank you, that makes sense. Is the recipes
interface supported at this time? Essentially, I am looking to include all variables in a dataframe in the model without typing each one explicitly.
Not supported yet, not sure when this will be added. For now you can definitely add all variables from a dataframe by constructing the formula programmatically.
Does fable support the use of the dot (
.
) akin to its use informula()
to include all other variables? Here is an example that returns an error.Based on the error message it looks like the function has some idea of what I am trying to do, in that it recognizes the
.
and is looking fordata
to which the.
can be applied. However, the models infable
don't have adata
argument. I looked at the source code forfabletools::model()
andfabletools::estimate()
to see if/where the formula and data are brought together, but I couldn't find a solution.