computeGridCenters: Compute the Cell Centers of a Cell Mapping Grid

Description Usage Arguments Value Examples

View source: R/cm_computeGridCenters.R

Description

Computes the cell centers and the corresponding cell IDs of a cell mapping grid.

Usage

1
computeGridCenters(lower, upper, blocks)

Arguments

lower

[numeric or integer]
The lower limits per dimension.

upper

[numeric or integer]
The upper limits per dimension.

blocks

[integer]
The number of blocks per dimension.

Value

[data.frame].
A data.frame, which includes the coordinates of the cell centers, as well as the corresponding cell ID (cell.ID).

Examples

1
computeGridCenters(lower = -10, upper = 10, blocks = c(10, 5, 8))

flacco documentation built on June 20, 2017, 9:06 a.m.

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