Add lines for the density of infected individuals for the SIRS model

xds_lines_X_SIRS(
  times,
  XH,
  nStrata,
  clrs = c("darkblue", "darkred", "darkgreen"),
  llty = 1
)

Arguments

times

time points for the observations

XH

a list with the outputs of parse_outputs_X_SIRS

nStrata

the number of population strata

clrs

a vector of colors

llty

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