DClusterm (version 1.0-1)

CreateGridDClusterm: Creates grid over the study area.

Description

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.

Usage

CreateGridDClusterm(stfdf, radius, step)

Arguments

stfdf

spatio-temporal class object containing the data.

radius

maximum radius of the clusters.

step

step of the grid.

Value

two columns matrix where each row represents a point of the grid.