plot.isotopeData | R Documentation |
Plot stable isotope data (2 elements) with one or two baselines
## S3 method for class 'isotopeData' plot( x, consumer = NULL, b1 = NULL, b2 = NULL, legend = c(1.15, 1.15), density = "both", xylim = NULL, ... )
x |
an isotopeData class object. |
consumer |
string representing the consumer. |
b1 |
string representing baseline 1. |
b2 |
string representing baseline 2. |
legend |
coordinates representing where to locate the legend. |
density |
string representing whether the density function is plotted. Accepted characters are "both" in which case this function will plot the density function above and to the right, "right", "above" or "none". |
xylim |
argument for modifying x-y limits (for testing) |
... |
additional arguments passed to this function. |
a ggplot2 object with the biplot of isotopes.
a <- generateTPData() plot(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.