Build hts call

hts_builder(.data, new_index, ...)

Arguments

.data

tsibble

new_index

(temporary) new index we are using whilr working out model kinks

...

the levels of hierarchy, in order of decreasing size

Value

constructed expression of ar1 terms to pass to inla

Examples


# # hts_builder(malaria_africa_ts, who_region, who_subregion, country)