siarproportionbygroupplot: siar proportion plots by group

Description Usage Arguments Author(s)

Description

Plots boxplots or line plots representing defined credible intervals for each source (x-axis) for a given group. The representation is basically the same as siarhistograms but allows easier comparison of source contribution witin a group. Similar in style to siarproportionbysourceplot().

Usage

1
siarproportionbygroupplot(siardata, siarversion=0,probs=c(95,75,50),xlabels=NULL, grp=NULL, type="boxes",clr=gray((9:1)/10),scl=1,xspc=0.5,prn=FALSE,leg=FALSE)

Arguments

siardata

A list containing some or all of the following parts: targets, sources, corrections, PATH, TITLE, numgroups, numdata, numsources, numiso, SHOULDRUN, GRAPHSONLY, EXIT, and output. For more details of these inputs see the siarmenu function.

siarversion

The siar version number.

probs

Define the extent probability intervals for a given parameter.

xlabels

Specifies the text to associate with each group defined as ticks on the x-axis.

grp

Specifies which group the graph is drawn for. Default prompts the user for input from the command line.

type

Determines the style of graph. type="boxes" draws boxplot style (default), type="lines" draws overlain lines increasing in thickness

clr

Determines the set of colours to use for the boxes. Default is greyscale.

scl

Specifies a proportional scaling factor to increase (scl > 1) or decrease (scl < 1) the default width of lines or boxes. Default = 1.

xspc

Sets the amount of blank space either side of the first and last (on the x-axis) graphic object.

prn

If prn=TRUE the values for the defined probability densities (probs) are returned to the command window. Default is prn=FALSE with no such output.

leg

Determines whether a legend is to be drawn (leg=TRUE) or not (default leg=FALSE). Note, currently only supported for type="lines".

Author(s)

Andrew Jackson & Andrew Parnell


siar documentation built on May 2, 2019, 11:02 a.m.