Specify autocorrelation terms in brms models. Currently supported terms
fcor. Terms can be directly specified within the formula, or
passed to the
autocor argument of
brmsformula in the
form of a one-sided formula. For deprecated ways of specifying
autocorrelation terms, see
The autocor term functions are almost solely useful when called in formulas passed to the brms package. They do not evaluate its arguments – but exist purely to help set up a model with autocorrelation terms.
1 2 3 4 5 6 7 8
Loading required package: Rcpp Loading 'brms' package (version 2.14.4). Useful instructions can be found by typing help('brms'). A more detailed introduction to the package is available through vignette('brms_overview'). Attaching package: ‘brms’ The following object is masked from ‘package:stats’: ar Warning message: In file(con, "r") : cannot open file '/proc/stat': Permission denied y ~ x + arma(p = 1, q = 1) + car(M) y ~ x autocor ~ arma(p = 1, q = 1) + car(M) y ~ x autocor ~ arma(p = 1, q = 1) + car(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.