You will need to replace PAR_X for whatever your x-axis observation column
is called. In JAGS typically x[i_]
. In R just x
.
get_formula_str(ST, par_x, ytype = "ct", init = FALSE)
A string with JAGS code.
Tibble. Returned by get_segment_table
.
String (default: NULL). Only relevant if no segments contains slope (no hint at what x is). Set this, e.g., par_x = "time".
One of "ct" (central tendency), "sigma", "ar1" (or another order), or "ma1" (or another order)
TRUE/FALSE. Set to TRUE for the first call. Adds segment-relative X-codings and verbose commenting of one formula
Jonas Kristoffer Lindeløv jonas@lindeloev.dk