Plot the density of infected individuals for the SIR model
Usage
# S3 method for SIR
xde_plot_X(
pars,
i,
clrs = c("black", "darkred", "darkblue"),
llty = 1,
stable = FALSE,
add_axes = TRUE
)
Arguments
- pars
a list that defines an
exDE
model (e.g., generated byxde_setup()
)- i
the host species index
- clrs
a vector of colors
- llty
an integer (or integers) to set the
lty
for plotting- stable
a logical: set to FALSE for
orbits
and TRUE forstable_orbits
- add_axes
a logical: plot axes only if TRUE