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.
# S3 method for splitSummary
plot(x, rate = FALSE, ...)
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.
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.
additional arguments to be passed down