remix_2DPI: Isospace plots of model predicted consumer isotope ratios

Description Usage Arguments Details Value Author(s)

View source: R/remix_2DPI.R

Description

Plotting the consumer's isotope values against those predicted by the model can be useful to detect model bias, or instance when consumers fall outside the source polygon.

Usage

1
2
3
4
remix_2DPI(x2, simmr_in, groups = NULL, tracerpairs = NULL, nxvals = 200,
  xlab = colnames(simmr_in$mixtures)[1],
  ylab = colnames(simmr_in$mixtures)[2], prob = c(0.05, 0.25),
  xlims = NULL, ylims = NULL, plotCI = TRUE)

Arguments

x2

A remix_simdata object.

simmr_in

A simmr_input object.

groups

A numeric with the groups to plot if they are used, otherwise NULL.

tracerpairs

A two row matrix were columns are the tracer pairs you want to plot.

nxvals

A numeric giving the number of intervals on the x and y axes.

xlab

A character the x-axis label

ylab

A character the y-axis label

prob

A numeric vector giving the probability intervals to plot.

xlims

A numeric pair giving the x-axis limits

ylims

A numeric pair giving the y-axis limits

plotCI

A logical which determines whether credibility interavls are plotted in addition to the predictive intervals.

Details

Plots the output of remix_simdata on two axes. remix_2DPI also plots predictive intervals at the given level, which are spaces where the consumer isotope ratios have a 95 falling. Optionally can also plot 95 intervals, which indicate a 95 Model bias is indicated by consumer data that fall outside the predictive intervals. Bias may occur, among other things due to missed sources or incorrect fractionation estimates.

Value

Plots of the tracer pairs with predicted isotope values of consumers.

Author(s)

Christopher J. Brown


cbrown5/remixsiar documentation built on April 26, 2020, 12:40 a.m.