Learn R Programming

IsotopeR (version 0.5.4)

Bi.plots: Mixing Space, 2 sources

Description

2 source mixing space plot used to plot the source estimations and the observations or model fits.

Usage

Bi.plots(jags.1, X, sources=NA, plot.mix = FALSE, plot.ind.flag = FALSE, me.flag = FALSE, color.plots=TRUE, xlab=NULL, ylab=NULL, xlim=NULL, ylim=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 black and white. 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.
xlim
The x-axis plot limits. If NULL this will be determined automatically.
ylim
The y-axis limits. If NULL this will be determined automatically.

Examples

Run this code
## Not run: 
# IsotopeR()
# load(SampleOutput.Rdata)
# Bi.plots(jags.1=jags.out, X=X)
# ## End(Not run)

Run the code above in your browser using DataLab