plot.mixstock.est: plot mixed stock analysis estimates

Description Usage Arguments Value Note Examples

View source: R/mixstock.R

Description

plots a mixed stock analysis estimate as a point plot with 95% confidence limites

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'mixstock.est'
plot(x, plot.freqs = FALSE,
   sourcectr=FALSE, contrib.lab = "Estimated source contributions",
   sourcefreq.lab = "Estimated source marker freqs",
   markcolors = rainbow(x$H),
   alength=0.25,
   aunits="inches",
   abbrev, level=0.95,
   axes=TRUE, ...)

Arguments

x

mixstock estimate

plot.freqs

plot marker frequency estimates?

sourcectr

plot source-centric estimates?

contrib.lab

label for source contribution plot

sourcefreq.lab

label for marker frequency plot

markcolors

colors corresponding to markers

alength

length of error bar ends in many-to-many plots

aunits

units of error bar end lengths in many-to-many plots

abbrev

abbreviate names on horizontal axis in many-to-many plots? Default if TRUE is 3 characters, but may also be an integer specifying the number of characters

level

confidence level

axes

(logical) plot axes?

...

other arguments to barplot

Value

Produces a plot on the current graphics device.

Note

The ... argument can contain a great number of optional arguments to barplot: see barplot and xyplot (in the lattice package). Among many others, one can specify (for example) scale=list(x=list(cex=0.6),y=list(log=TRUE)) for smaller labels on the horizontal axis and a log scale on the vertical axis; layout=c(3,5) to change the number of rows and columns of panels; or as.table=TRUE to change the ordering of the panel to top-to-bottom, left-to-right. (One can also use abbreviate=TRUE in the scale list, but the abbrev argument above seems to be more powerful.)

Examples

1
2
3
4
  data(simex)
  u1 = uml(simex)
  plot(u1)
  plot(u1,plot.freqs=TRUE)

mixstock documentation built on May 2, 2019, 6:48 p.m.