If the argument thegrid of DetectClustersModel() is null, this function is used to create a rectangular grid with a given step. If step is NULL the step used is equal to 0.2*radius. The grid contains the coordinates of the centers of the clusters explored.
CreateGridDClusterm(stfdf, radius, step)
spatio-temporal class object containing the data.
maximum radius of the clusters.
step of the grid.
two columns matrix where each row represents a point of the grid.