Creates an Increase-Decrease-Stable model for trend detection.

IDSModel(window_size = 3L)

Arguments

window_size

Window size for trend calculation (default: 3)

Value

A spec for a Julia `IDSModel`, built when it is fitted (see [juliabridge::julia_spec()])

Examples

if (FALSE) { # \dontrun{
model <- IDSModel()
model <- IDSModel(window_size = 5)
} # }