write_mix_json and
read_mix_json functions which write and read mixture
objects as JSON to/from files."msr" parametrization to mixmvnorm
which allows to consturct multi-variate normal mixtures in a
parametrization using the mean vector, standard deviations and the
correlations. This functionality is based on the new
msr2mvnorm utility function.ess function for beta and gamma
mixtures when used inside of lapply or
sapply.family argument. For example, this can be used to calculate
the ESS of a normal mixture density representing a logit transformed
response scale.styler.BinaryExactCI function
whenever no responses or no non-responses are observed. Fixes issue
#21.mixstanvar automatic generation of
distribution functions allowing truncated priors in brms
with mixturesgMAP objects by
avoiding to store redundant variables.testthat edition to version 3.ggplot2::qplot with
respective calls to ggplot2::ggplot.array notation for mixstanvar
generated Stan code to make generated Stan programs compatible with Stan
>= 2.33pngquant to system requirements of package as
requested by CRAN.mixstanvar function and disabled
integration tests on CI/CD systems as these require significant
resources due to the need to compile Stan models. The unit tests do
ensure that things are correct from the RBesT side of
things.roxygen2 to document package
documentation.brms models with the new
adapter function mixstanvar.aes_string.constrain_gt1 of the
EM for beta mixtures to TRUE. This will be default
constrain the fitted parameters of each beta mixture component to be
greater than unity as required for finite ESS elir calculations.rstantoolsRBesT will now report the date of the
release and the respective git commit hash used to create the sources of
the package.predict for new studies will sample the
study specifc random effect per iteration only once. This is important
for MAP priors with covariate effects (which are pooled over the
studies).matrixStats to speed up EM algorithms &
OCsmixdist plot when plotting a mixture resulting from
*mixfit callgMAP analysis for
which the Stan sampler had issues due to divergent transitions or
non-convergence as indicated by large Rhatdmix) with a defined link
function did not evaluate correctly, which was visible when plotting
mixtures (with more than one component) with link functionsAdded probability of success calculation for 1+2 sample case.
Added decision1+2S_boundary functions (and deprecated use of y2 argument of oc functions)
Added RBesT.integrate_args option for greater control over density integrations.
Correct cumulative predictive of beta mixtures to return 0/1 for out-of-range values (instead of leaving those out).
Deprecated functions oc1+2Sdecision which are replaced by decision1+2S.