paul-buerkner / brms

brms R package for Bayesian generalized multivariate non-linear multilevel models using Stan
https://paul-buerkner.github.io/brms/
GNU General Public License v2.0
1.28k stars 184 forks source link

Feature request: Change default `brm(iter = 2000)` to `brm(iter = getOption("brms.iter", 2000)` #1705

Open mvuorre opened 3 hours ago

mvuorre commented 3 hours ago

A small quality of life improvement request:

I frequently run a bunch of models and don't initially want to wait for 2000 iterations. It would be faster if I could set a global option (e.g.) options(brms.iter = 200) and have brm() use that option. If the default for that option was 2000, it would default to current behavior. Does this make sense? If so I am happy to submit a PR.

paul-buerkner commented 2 hours ago

sounds good!

Matti Vuorre @.***> schrieb am Fr., 15. Nov. 2024, 08:48:

A small quality of life improvement request:

I frequently run a bunch of models and don't initially want to wait for 2000 iterations. It would be faster if I could set a global option (e.g.) options(brms.iter = 200) and have brm() use that option. If the default for that option was 2000, it would default to current behavior. Does this make sense? If so I am happy to submit a PR.

— Reply to this email directly, view it on GitHub https://github.com/paul-buerkner/brms/issues/1705, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCW2AGHK4LBPO7AXSEJKV32AWROTAVCNFSM6AAAAABR2TJWYWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3DCMJTGUYDQOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>