new features
- Perform model comparisons based on marginal likelihoods using the methods
bridge_sampler
,bayes_factor
, andpost_prob
all powered by thebridgesampling
package. - Compute a Bayesian version of R-squared with the
bayes_R2
method. - Specify non-linear models for all distributional parameters.
- Combine multiple model formulas using the
+
operator and the helper functionslf
,nlf
, andset_nl
. - Combine multiple priors using the
+
operator. - Split the
nlpar
argument ofset_prior
into the three argumentsresp
,dpar
, andnlpar
to allow for more flexible prior specifications.
other changes
- Refactor parts of the package to prepare for the implementation of more flexible multivariate models in future updates.
- Keep all constants in the log-posterior in order for
bridge_sampler
to be working correctly. - Reduce the amount of renaming done within the
stanfit
object. - Rename argument
auxpar
offitted.brmsfit
todpar
. - Use the
launch_shinystan
generic provided by theshinystan
package. - Set
bayesplot::theme_default()
as the defaultggplot2
theme when attachingbrms
. - Include citations of the
brms
overview paper as published in the Journal of Statistical Software.
bug fixes
- Fix problems when calling
fitted
withhurdle_lognormal
models thanks to Meghna Krishnadas. - Fix problems when predicting
sigma
inasym_laplace
models thanks to Anna Josefine Sorensen.