View source: R/plot.epi.data.frame.R
plot.epi.data.frame | R Documentation |
This function is a wrapper around plot.netsim
accepting a
data.frame
obtain with as.data.frame(netsim_object)
.
## S3 method for class 'epi.data.frame'
plot(
x,
y = NULL,
sims = NULL,
legend = NULL,
mean.col = NULL,
qnts.col = NULL,
sim.lwd = NULL,
sim.col = NULL,
sim.alpha = NULL,
popfrac = FALSE,
qnts = 0.5,
qnts.alpha = 0.5,
qnts.smooth = TRUE,
mean.line = TRUE,
mean.smooth = TRUE,
add = FALSE,
mean.lwd = 2,
mean.lty = 1,
xlim = NULL,
ylim = NULL,
main = NULL,
xlab = NULL,
ylab = NULL,
sim.lines = FALSE,
grid = FALSE,
leg.cex = 0.8,
...
)
x |
A |
y |
Output compartments or flows from |
sims |
If |
legend |
If |
mean.col |
Vector of any standard R color format for mean lines. |
qnts.col |
Vector of any standard R color format for polygons. |
sim.lwd |
Line width for simulation lines. |
sim.col |
Vector of any standard R color format for simulation lines. |
sim.alpha |
Transparency level for simulation lines, where
0 = transparent and 1 = opaque (see |
popfrac |
If |
qnts |
If numeric, plot polygon of simulation quantiles based on the
range implied by the argument (see details). If |
qnts.alpha |
Transparency level for quantile polygons, where 0 =
transparent and 1 = opaque (see |
qnts.smooth |
If |
mean.line |
If |
mean.smooth |
If |
add |
If |
mean.lwd |
Line width for mean lines. |
mean.lty |
Line type for mean lines. |
xlim |
the x limits (x1, x2) of the plot. Note that The default value, |
ylim |
the y limits of the plot. |
main |
a main title for the plot, see also |
xlab |
a label for the x axis, defaults to a description of |
ylab |
a label for the y axis, defaults to a description of |
sim.lines |
If |
grid |
If |
leg.cex |
Legend scale size. |
... |
Additional arguments to pass. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.