NEWS.md
Fix plotting error when representing matrices.
Major changes brought to the whole package:
EcoDiet now uses the jagsUI package instead of the rjags package as an interface with JAGS. jagsUI allows for a more flexible design of the model runs and parallelization on multiple cores/servers, which substantially reduces the time required for runs with multiple chains. The MCMC sampling procedure have also been optimized and now looks closer to what is done by similar packages such as MixSIAR.
run_model function
jagsUI package.jagsUI once the model has run.jagsUI) .write_model function now allows to (i) specify a name and location for the BUGS model written and saved as a ‘.txt’ file and (ii) print the model in the console.
diagnose_model function has been created to generate the Gelman-Rubin diagnostic of the variables. It returns a table of the Gelman-Rubin test results and prints a summary of these statistics. This function also produces and ensemble of diagnostic plots that are directly saved in a pdf document.
Various fixes: