data("imdepi")
## show the occurrence of events along the time axis (-> histogram)
plot(imdepi, aggregate = "time", subset = type == "B",
main = "Time series of events of the serogroup B finetype")
## show the distribution in space
plot(imdepi, aggregate = "space", colTypes = 1:2)
Run the code above in your browser using DataLab