mixsiar_gui
creates the GUI version of MixSIAR.
mixsiar_gui()
mixsiar_gui
itself returns nothing, but using the GUI creates
R objects that you can access from the console:
mixsiar$mix
: mixture data, output of load_mix_data
)
mixsiar$source
: source data, output of load_source_data
)
mixsiar$discr
: discrimination (TDF) data, output of load_discr_data
mixsiar$jags.1
: rjags model object with MCMC chains, output of run_model
Before running this function, a new user will need to install JAGS and GTK+. See Section 2 of the manual for install instructions: https://github.com/brianstock/MixSIAR/blob/master/inst/mixsiar_manual_small.pdf
mixsiar_gui
calls most of the other MixSIAR
functions:
load_mix_data
loads the mixture data file,
load_source_data
loads the source data file,
load_discr_data
loads the TDF data file,
plot_data
creates an isospace plot,
plot_prior
plots your prior and the uninformative prior,
write_JAGS_model
creates a JAGS model file (.txt),
run_model
sets up JAGS objects and calls JAGS to run
the model,
output_JAGS
processes the JAGS output (prints/saves
diagnostics, summary statistics, and plots)