R functions for visualizing spatial distribution of events in time