Skip to contents

This class is a container for the parameterization of Spline models. This class is experimental and not recommended for use!

Slots

df_season

Degrees of freedom for spline modeling seasonality. This class uses cubic splines, which are not recommended to model periodic patterns.

df_trend

Degrees of freedom for spline modeling the time trend

timeTrend

Indicates whether a time trend should be included in the model.

timepoints_per_unit

Number of time points within the considered time unit (e.g. 52 for weekly observations in a year).

offset

TRUE if an offset should be included in the model.

formula_bckg

A formula which models the 'normal' (background) states.

formula

A formula which models which includes variable(s) to model 'excess' state(s).