get_ar_code | R Documentation |
Developer note: Ensuring that this can be used in both simulate() and JAGS got quite messy with a lot of if-statements. It works but some refactoring may be good in the future.
get_ar_code(ar_order, family, is_R, xvar, yvar = NA)
ar_order |
Positive integer. The order of ARMA |
family |
An mcpfamily object |
is_R |
Bool. Is this R code (TRUE) or JAGS code (FALSE)? |
String with JAGS code for AR.
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.