powered by
Great circle distances between face centers and vertices
vertexradius(x, degree = TRUE)
A numeric matrix that matches in structure with the @faces slot of the provided grid x. Distances measured on each face are in the same row.
numeric
@faces
x
(trigrid or hexagrid) Object.
trigrid
hexagrid
(logical) Should the output be returned in degrees or in kóilometers?
logical
# example grid g <- trigrid(3) # all vertexradius vertrads <- vertexradius(g) # face average averages <- apply(vertrads, 1, mean, na.rm=TRUE)
Run the code above in your browser using DataLab