New Features
- Specify a prior
tagfor use in prior sensitivity analysis
viapriorsensethanks to Kallioinen. (#1585) - Specify group-level prior weights via argument
pwin multilevel
grandmmterms thanks to Ben Schneider. (#1719) - Fit extended-support Beta models via family
xbeta
thanks to Ioannis Kosmidis. (#1698) - Add a
seedargument toloo_R2thanks to Marco Colombo. (#1713) - Add family
dirichlet_multinomialto fit overdispersed
multinomial data thanks to Tom Peatman. (#1729) - Add the
int_stepR function to match the corresponding Stan
function thanks to Daniel Sabanes Bove. (#1734) - Add a new global option
brms.cache_folder, which allows users to define a
default directory for saving and loading cached brmsfit objects.
Thanks to Sermet Pekin. (#1790)
Bug Fixes
- Avoid the creation of zombie workers when executing
log_lik
in parallel thanks to Aki Vehtari and Noa Kallioinen.
For now,log_likwill use PSOCK clusters if run
in parallel even on Unix systems. To avoid potential speed loss for small
models,log_likwill not useoption(mc.cores)anymore.
These changes may be reverted once the underlying causes of this
issue have been fixed. (#1658) - Align the definition of the R function
step()with the definition in Stan,
such thatstep(0) == 1thanks to Daniel Sabanes Bov. (#1734) - Make
read_csv_as_stanfit()storeadapt_deltaandmax_treedepthvalues in
$controlso rstan can find these values. Thanks to Tristan Mahr (#1767). - Enable updating argument
data2forbrmsfit_multipleobjects. (#1776) - Fix several other minor bugs.