get_all_formulas | R Documentation |
get_formula_str
for multiple ytypes and paste stringsCurrently used to differentiate between the JAGS model (use all) and the fit$simulate model (do not include arma).
get_all_formulas(ST, prior, par_x, ytypes = c("ct", "sigma", "arma"))
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 |
A string with JAGS code.
Jonas Kristoffer Lindeløv jonas@lindeloev.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.