Skip to contents

Plot the density of infected individuals for the SIS model

Usage

# S3 method for SIS
xde_plot_X(
  pars,
  i = 1,
  clrs = c("darkblue", "darkred"),
  llty = 1,
  stable = FALSE,
  add_axes = TRUE
)

Arguments

pars

a list that defines an exDE model (e.g., generated by xde_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 for stable_orbits

add_axes

a logical: plot axes only if TRUE