Fixed issues with
Plotting methods now display the proper no-effect toxicity legend label (2be55d51).
compare_* functions now have N(S)EC as default behaviour (c4c84ba1).
Changed argument name
resolution in many functions to maintain syntax compatibility with
Standardised plot style between
Improved speed in test runs for CRAN (d5d097fb).
Aligned generic method consistency for
Fixed a bug relating to 01 bounded x data in
Fixed messages returned for
Reduced n_trials and deleted unnecessary set.seed in while call for
gsubsubstitution of x in original brms non-linear formulas, and added various tests (
Dispersion now takes a
bayesnecfit as input (
identity the default link (
model.frame methods to main classes (
ggplot2 plotting method (
Added Bayesian R2 to
Corrected error for logit link cases for the beta_binomial2 where data contain 0 and 1 to ensure appropriate prior values on top and bot (
If link functions are not specified in bnec, then the default link function is used; previous versions of bayesnec used the identity link.
An additional family has been added betabinomial2 for over dispersered binomial data.
The package supports using link functions for generalized modelling, which appears to be more stable and is also in line with more typical generalised modelling approaches.
There are multiple options for model weights calculation from the loo package. The default is “pseudobma BB”.
There is now a compare_posterior function that also includes a bootstrapping procedure. This can be used to compare model fits across different datasets, or even different model sets for the same dataset (ie nec v ecx models). Please see the vignette for examples of usage.
There is a vignette detailing the models available in bayesnec. Note that not all models are suitable for all families, and also depending if link functions are used.
A new check_chains function has been added to allow chain plotting in base R and that works more smoothly with plotting chains for multiple fits for bayesmanec objects.