brms's deprecated accessor. brms has stored the autocorrelation
terms in the formula since version 2.11, and autocor() on such a
fit returns NULL with a deprecation warning. frmtmb returns the
same. The terms are in formula(); autocor_matrix() gives the
estimated residual correlation matrix.
Examples
set.seed(1)
d <- expand.grid(week = 1:4, subj = factor(1:10))
d$y <- rnorm(40)
fit <- frm(bf(y ~ 1 + ar(week, subj)), data = d)
suppressWarnings(autocor(fit))
#> NULL