# specify autocor terms within the formula
y ~ x + arma(p = 1, q = 1) + car(M)
# specify autocor terms in the 'autocor' argument
bf(y ~ x, autocor = ~ arma(p = 1, q = 1) + car(M))
# specify autocor terms via 'acformula'
bf(y ~ x) + acformula(~ arma(p = 1, q = 1) + car(M))
Run the code above in your browser using DataLab