Creates a naive forecast model that uses the last observed value as the forecast for all future horizons.

ConstantModel()

Value

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

Examples

if (FALSE) { # \dontrun{
model <- ConstantModel()
} # }