the code you see in the case study is for brms not for rstanarm. recompile is not required for rstanarm. the rest you will likely find at ?update.stanreg
yes, I see that the case study uses brms, not rstanarm. I’m wondering what the equivalent line of code would be with fit from rstanarm. I see that recompile isn’t required, but what is the equivalent to "newdata = "? Thank you!!
Update on update()! thanks for Ben Goodrich:
This works: fit_i ← update(fit, data = df[-(i:N),])
In other words, to switch the update() from brms to stan_glmer:
newdata = → data = , and
remove recompile = .