CreateGridDClusterm: Creates grid over the study area.

Description Usage Arguments Value

View source: R/Functions2.R

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

1
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.


DClusterm documentation built on Feb. 25, 2020, 5:06 p.m.