Tri.plots {IsotopeR} | R Documentation |
Mixing Space, 3 sources
Description
A mixing space plot for 3 or more sources used to plot the source estimations and the observations or model fits.
Usage
Tri.plots(jags.1, X, sources=NA, plot.mix = FALSE, plot.ind.flag = FALSE,
me.flag = FALSE, color.plots=TRUE, xlab=NULL, ylab=NULL)
Arguments
jags.1 |
A jags object, output from the runjags package. |
X |
Isotopic mixture data |
sources |
A matrix including all source information. Should be formatted as a source file as discussed in the IsotopeR vignette. |
plot.mix |
A flag, plots the estimated mixture values, when TRUE (1). If FALSE (0) then the the function plots the observed mixture values. |
plot.ind.flag |
Legacy argument, not currently used. |
me.flag |
Denotes wether to plot the measurement error along with observations. |
color.plots |
Denotes whether plots should be color, or greyscale. The user does not have the ability to specify which colors should be used. |
xlab |
A character vector for the x-axis label. If NULL the labels from the mixture file will be used. |
ylab |
A character vector for the y-axis label. If NULL the labels from the mixture file will be used. |
Author(s)
Jake Ferguson
Examples
## Not run:
IsotopeR()
load(SampleOutput.Rdata)
Tri.plots(jags.1=jags.out, X=X)
## End(Not run)