Skip to content

Releases: brianstock/MixSIAR

v3.1.11

13 May 23:06
Compare
Choose a tag to compare

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 with output_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
  • Update/fix alligator ex
    • moved calc_eps() (#149)
    • add code to plot cont effect + random effects of individuals (mixsiar_script_alligator_length_ind.R, #180)

Bug fix

  • Fix error when combining sources with > 9 sources (Thanks Eric! 4e06aea)

3.1.9

29 Mar 21:42
Compare
Choose a tag to compare

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, via loo 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 use jags.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 of compositions::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 returns p.both if 1FE + 1RE

3.1.8

29 Mar 21:03
Compare
Choose a tag to compare

Empty release... Zenodo failed to mint a DOI.

v3.1.7

23 Aug 21:45
Compare
Choose a tag to compare
cran-comments update

v3.1.5

21 Jun 23:09
Compare
Choose a tag to compare

Changed "Isotopes" to "Tracers" in GUI

v3.1.4

21 Jun 22:35
Compare
Choose a tag to compare

Fixed bug #72, which was created when making changes to pass R CMD check for CRAN submission.

v3.1.3

01 Jun 19:04
Compare
Choose a tag to compare

Users should not notice any functional changes. Added:

  1. Tests via testthat package (see "tests/testthat" folder)
  2. Changes to pass R CMD check for submission to CRAN

v3.1.2

16 Mar 17:29
Compare
Choose a tag to compare

Two very minor changes:

  • download latest release by default (instead of master)
  • updated citation info

v3.1.1

11 Mar 18:28
Compare
Choose a tag to compare
  • 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

10 Mar 00:40
Compare
Choose a tag to compare

Converted to R package structure, so can now run MixSIAR with:

library(MixSIAR)
mixsiar_gui()