epiNet.simTrans.## S3 method for class 'epiNet.simTrans':
plot(x, type = "sim", sim, at = 1,
col.inf = FALSE, shp.bip = NULL, zeromarg = TRUE, alpha, lwd,
plots.joined, ...)EpiModel model object of class
epiNet.simTrans.type="sim" for epidemic
model results, type="network" for a static network
plot (plot.network), or type="formation"
for network formation statistics.type="network", simulation number
for network graph.type="network", time step for network
graph.TRUE and type="network",
automatic disease status colors (blue = susceptible, red
= infected, , green = recovered).type="network", specify shapes
in bipartite network for the second mode vertices, with
acceptable inputs of "triangle" and "square".TRUE and type="network",
automatically sets plot margins to 0 on all sides.type="formation", transparency
level for lines, where 0 = transparent and 1 = opaque.type="formation", line width for
output values.TRUE and
type="formation", combine all target statistics in
one plot, versus one plot per target statistic if
FALSE.epiNet.simTrans: type="sim", epidemic model results (e.g., disease
prevalence and incidence) may be plotted. In this case,
this plotting function wraps theplot.epiICMfunction, as the stochastic epidemiological results are in
the same data structure. Consult the help page forplot.epiICMfor all the plotting parameters.type="network", a static network plot will be
generated. A static network plot of a dynamic network of
the sort simulated inEpiModelis a cross-sectional
extraction of that dynamic network at a specific time
point. This plotting function wraps theplot.networkfunction in thenetworkpackage. Consult the help page forplot.networkfor
all the plotting parameters. In addition, five plotting
parameters specific toEpiModelplots are available:sim,at,col.inf,shp.bip, andzeromarg.type="formation", summary
network statistics related to partnership formation will be
plotted. These formation plots are similar to the formation
plots for bothepiNet.estandepiNet.simNetobjects. When running aepiNet.simTranssimulation, one must specify there
thatsave.stats=TRUE; the plot here will then show
the network statistics requested explicitly instat.formula, or use the formation formula set inepiNet.estotherwise. Note, that these network
statistics are not saved for independentepiNet.simTranssimulations, since all of the
network data, including these statistics, is simulated and
saved in the call toepiNet.simNet; one should plot
theepiNet.simNetobject in that situation.plot.epiICM, plot.network## See EpiModel Tutorial vignette for examples ##Run the code above in your browser using DataLab