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

xds_lines_X_workhorse(
  time,
  XH,
  nStrata,
  clrs = c("darkblue", "darkgreen", "darkred", "purple"),
  llty = 1
)

Arguments

time

a list with the outputs of parse_outputs_X_workhorse

XH

a list with the outputs of parse_outputs_X_workhorse

nStrata

the number of population strata

clrs

a vector of colors

llty

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