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

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

Arguments

time

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