- x
An EpiModel
model object of class icm
.
- y
Output compartments or flows from icm
object to plot. -------
- popfrac
If TRUE
, plot prevalence of values rather than numbers
(see details).
- sim.lines
If TRUE
, plot individual simulation lines. Default is
to plot lines for one-group models but not for two-group models.
- sims
A vector of simulation numbers to plot.
- sim.col
Vector of any standard R color format for simulation lines.
- sim.lwd
Line width for simulation lines.
- sim.alpha
Transparency level for simulation lines, where
0 = transparent and 1 = opaque (see adjustcolor
function).
- mean.line
If TRUE
, plot mean of simulations across time.
- mean.smooth
If TRUE
, use a loess smoother on the mean line.
- mean.col
Vector of any standard R color format for mean lines.
- mean.lwd
Line width for mean lines.
- mean.lty
Line type for mean lines.
- qnts
If numeric, plot polygon of simulation quantiles based on the
range implied by the argument (see details). If FALSE
, suppress
polygon from plot.
- qnts.col
Vector of any standard R color format for polygons.
- qnts.alpha
Transparency level for quantile polygons, where 0 =
transparent and 1 = opaque (see adjustcolor
function).
- qnts.smooth
If TRUE
, use a loess smoother on quantile polygons.
- legend
If TRUE
, plot default legend.
- leg.cex
Legend scale size.
- grid
If TRUE
, a grid is added to the background of plot
(see grid
for details), with default of nx by ny.
- add
If TRUE
, new plot window is not called and lines are added
to existing plot window.
- xlim
the x limits (x1, x2) of the plot. Note that x1 > x2
is allowed and leads to a ‘reversed axis’.
The default value, NULL
, indicates that the range of the
finite values to be plotted should be used.
- ylim
the y limits of the plot.
- main
a main title for the plot, see also title
.
- xlab
a label for the x axis, defaults to a description of x
.
- ylab
a label for the y axis, defaults to a description of y
.
- ...
Additional arguments to pass.