Functions for the detection of spatial clusters of diseases