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

xds_lines_X_SIPw(
  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_Xorbits.SIP

nStrata

the number of population strata

clrs

a vector of colors

llty

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