GenEst (version 1.2.0)

plot.splitFull: Plot summary statistics for splits of mortality estimates

Description

The S3 plot method for splitFull objects constructs boxplots of the mortality estimates for all combinations of splitting covariates summarized in the splits variable. This is a simple wrapper function for creating a splitSummary object by calling summary.splitFull and plotting the result via plot.splitSummary.

Usage

# S3 method for splitFull
plot(x, rate = FALSE, CL = 0.9, ...)

Arguments

x

A splitSummary object (result of calcSplits) that includes summary statistics for simulated mortality estimates for all combinations of levels of 1 or 2 splitting covariates.

rate

logical scalar indicating whether the figures should be plotted as number of fatalities per split category (rate = TRUE) or fatality rates per unit time (rate = TRUE). If the splits do not include either a split_SS or split_time variable, the rate arg is ignored.

CL

desired confidence level to show in box plots

...

to be passed down