Skip to contents

Wraps rjd3toolkit::dictionary() on the Java result of the model. The returned ids can be passed to jd3_indicator(). Not available for the high-frequency models (AIRLINE_DECOMPOSITION(), MSTL()...), which keep no Java object.

Usage

jd3_dictionary(object, ...)

# S3 method for class 'jd3_model'
jd3_dictionary(object, ...)

# S3 method for class 'hf_model'
jd3_dictionary(object, ...)

# S3 method for class 'mdl_ts'
jd3_dictionary(object, ...)

# S3 method for class 'mdl_df'
jd3_dictionary(object, ...)

Arguments

object

A fitted mable (mdl_df), a mdl_ts or a jd3_model (a hf_model gives an error).

...

Currently unused.

Value

A data frame (class JD3_FULL_DICTIONARY) with one row per indicator: its id (name), description and output type. For a mable, the dictionary of the first model is returned.

See also

Examples


mb <- model(tsibble::as_tsibble(AirPassengers), x13 = X13(value))
head(jd3_dictionary(mb))
#> [1] "out_i"      "out_i_f(?)" "out_i_b(?)" "out_t"      "out_t_f(?)"
#> [6] "out_t_b(?)"