get_all_formulas {mcp} | R Documentation |
Call get_formula_str
for multiple ytypes and paste strings
Description
Currently used to differentiate between the JAGS model (use all) and the fit$simulate model (do not include arma).
Usage
get_all_formulas(ST, prior, par_x, ytypes = c("ct", "sigma", "arma"))
Arguments
ST |
Tibble. Returned by |
prior |
Named list. Names are parameter names (
|
par_x |
String (default: NULL). Only relevant if no segments contains slope (no hint at what x is). Set this, e.g., par_x = "time". |
ytypes |
A character vector of ytypes to including in model building |
Value
A string with JAGS code.
Author(s)
Jonas Kristoffer Lindeløv jonas@lindeloev.dk