epispatial {EpiILM} | R Documentation |
Produce spatial plots of epidemic progression over time
epispatial (type, x, y, inftime, removaltime = NULL, time = NULL, tmin = NULL)
type |
Type of compartment framework, with the choice of "SI" for Susceptible-Infectious diseases and "SIR" for Susceptible-Infectious-Removed |
x |
X coordinates of individuals |
y |
Y coordinates of individuals |
inftime |
Times at which individuals become infected/infectious |
removaltime |
Times at which individuals are removed |
time |
Specify time points at which the spatial square is plotted |
tmin |
Initial time point at which infection occurs, default value is one |