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 May 21, 2017, 4:08 a.m.

Search within the DClusterm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.