How update works in brms

Hi Paul, (I guess :) ),
I was wondering if update() keeps all the parameters of the previous fit, such as control and save_all_pars. And by the way, is there a way to extract those from a brms fit?


It does (or should at least; updating is a difficult thing). You can see how this happens in the source code of update.brmsfit in

ok, thanks!, it seems to be working, and I can check it with this “simple” command :)
attr(object$fit@sim$samples[[1]], "args")$control