Plot the density of infected individuals for the workhorse model

# S3 method for workhorse
xds_plot_X(
  pars,
  i = 1,
  clrs = c("darkblue", "darkgreen", "darkred", "purple"),
  llty = 1,
  add = FALSE
)

Arguments

pars

an xds object

i

the host species index

clrs

a vector of colors

llty

an integer (or integers) to set the lty for plotting

add

plot axes only if FALSE