Releases: brianstock/MixSIAR
Releases · brianstock/MixSIAR
v3.1.11
Major change
For MixSIAR
to remain on CRAN, I had to remove the mixsiar_gui()
function. mixsiar_gui()
will now be found in the new GitHub-only package MixSIARgui
.
devtools::install_github("brianstock/MixSIARgui", dependencies=T) # installs MixSIAR as dependency
library(MixSIARgui) # also loads MixSIAR
mixsiar_gui()
Minor improvements
- New website for documentation: http://brianstock.github.io/MixSIAR/
- Allow
output_JAGS()
to suppress diagnostic pdf plots withoutput_options$diag_save_ggmcmc = FALSE
(Thanks Virginia! #219) - Allow
plot_data()
to return the ggplot object so that it can be modified by the user (Thanks Eric! #220, #222) - 2 tweaks to make it clearer which sources receive which weights when using an informative prior
- source names appear in plots from
plot_prior()
function - warning message that asks users to confirm the informative prior matches their alpha vector
- source names appear in plots from
- Update/fix alligator ex
Bug fix
- Fix error when combining sources with > 9 sources (Thanks Eric! 4e06aea)
3.1.9
New features
- Example: alligator diet, model comparison table with LOO/WAIC weights
- Example: mantis shrimp diet, informative priors + combining sources
- Function:
compare_models
to perform model selection based on LOO/WAIC weights, vialoo
package - Function:
combine_sources
to aggregate sources a posteriori - Function:
summary_stat
to print summary of posterior after combining sources - Function:
plot_intervals
to plot CI of posterior after combining sources
Minor improvements
- Updated manual
- Removed
attach.jags
call (now directly usejags.1$BUGSoutput$sims.list
) - Added epsilon (multiplicative error term) estimates to output (summary stats, posterior plots)
- Improved continuous effect output plots: 1) added 95% CI shading, 2) plot each level of fixed effect
- Added check/error message: if sources by factor, sources must match for all factor levels
Bug fixes
- Fixed bug #129 by using
MCMCpack::rdirichlet
instead ofcompositions::rDirichlet.rcomp
- Small changes to pass R CMD check
- Fixed bug with 1FE + 1RE: empty levels Heidelberger diagnostic (#100)
- Fixed bug with 1FE + 1RE: posterior density plots saved over themselves
- Added return value for
output_JAGS
function: now returnsp.both
if 1FE + 1RE
3.1.8
Empty release... Zenodo failed to mint a DOI.
v3.1.7
cran-comments update
v3.1.5
Changed "Isotopes" to "Tracers" in GUI
v3.1.4
v3.1.3
Users should not notice any functional changes. Added:
- Tests via
testthat
package (see "tests/testthat" folder) - Changes to pass R CMD check for submission to CRAN
v3.1.2
Two very minor changes:
- download latest release by default (instead of master)
- updated citation info
v3.1.1
- Tested package install on Windows, Mac, Linux
- Revised install instructions
- Couple minor bug fixes
- Added vignettes for script examples, see
browseVignettes("MixSIAR")
- Revised manual
v3.1.0
Converted to R package structure, so can now run MixSIAR with:
library(MixSIAR)
mixsiar_gui()