plot.splitSummary {GenEst}R Documentation

Plot summary statistics for splits of mortality estimates

Description

The S3 plot method for splitSummary objects constructs boxplots of the mortality estimates for all combinations of splitting covariates summarized in the splits variable.

For 1-covariate splits, box plots showing median, IQR, and confidence intervals (for the CL attribute for the splits object). For 2-covariate splits, the box plots are in an array with levels of the temporal split (split_SS or split_time) arranged horizontally (if present) and the levels of the split_CO variable arranged vertically. If no temporal splits are present, then the box plots along the levels of the first split_CO variable are arranged horizontally and the levels of the second variable are are arranged vertically.

Usage

## S3 method for class 'splitSummary'
plot(x, rate = FALSE, commonScale = FALSE, ...)

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.

commonScale

boolean to indicate whether to plot separate splits panels with a common scale on their y-axes (or have y-axes scaled to fit each graph separately)

...

additional arguments to be passed down


[Package GenEst version 1.4.9 Index]