Add lines for the density of infected individuals for the SIR model
xds_lines_X_SIR(
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_outputs_X_SIR
- nStrata
the number of population strata
- clrs
a vector of colors
- llty
an integer (or integers) to set the `lty` for plotting