Description Usage Arguments Value
run_model
calls JAGS to run the mixing model created by
write_JAGS_model
. This happens when the "RUN MODEL" button is
clicked in the GUI.
1 2 3 4 5 6 7 8 9 10 
run 
list of MCMC parameters (chainLength, burn, thin, chains, calcDIC). Alternatively, a user can use a predefined parameter set by specifying a valid string:

mix 
output from 
source 
output from 
discr 
output from 
model_filename 
name of JAGS model file (usually should match 
alpha.prior 
Dirichlet prior on p.global (default = 1, uninformative) 
resid_err 
include residual error in the model? (no longer used, read from 'model_filename') 
process_err 
include process error in the model? (no longer used, read from 'model_filename') 
jags.1, a rjags
model object
Note: Tracer values are normalized before running the JAGS model. This allows the same priors to be used regardless of scale of the tracer data, without using the data to select the prior (i.e. by setting the prior mean equal to the sample mean). Normalizing the tracer data does not affect the proportion estimates (p_k), but does affect users seeking to plot the posterior predictive distribution for their data. For each tracer, we calculate the pooled mean and standard deviation of the mix and source data, then subtract the pooled mean and divide by the pooled standard deviation from the mix and source data. For details, see lines 226269.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.