a list of 3 data.frame's representing the variable and category decomposition, and the fitted values.
Arguments
model
Model object
de_normalise
A boolean to specify whether to apply the normalisation
categories
data.frame mapping variables to groups
tail_window
for time series, length of tail
verbose
A boolean to specify whether to print warnings
Details
Calculates the decomposition of the independent variables based on an input model object.
This can be expanded by leveraging id variables (e.g. date) and categories (i.e. groups of variables).