powered by
This function will return the distance between neighboring face centers.
spacing(x, ...)# S4 method for trigrid spacing(x, degree = TRUE)
# S4 method for trigrid spacing(x, degree = TRUE)
A named numeric vector, one value for every for every neighboring cell pair.
numeric
(trigrid, hexagrid) Object.
trigrid
hexagrid
Arguments of class-specific methods.
(logical) Should the output be returned in degrees or in kóilometers?
logical
The value for every pair is given in either degrees or kilometers depending on degree.
degree
h <- hexagrid(3) spacing(h)
Run the code above in your browser using DataLab