Extract vertex locations from an inla.mesh
Converts the vertices of an inla.mesh
object into a SpatialPointsDataFrame
.
vertices.inla.mesh(object)
object |
An |
A SpatialPointsDataFrame of mesh vertex locations. The vrt
column indicates the internal vertex id.
Fabian E. Bachl bachlfab@gmail.com
data("mrsea") vrt <- vertices(mrsea$mesh) ggplot() + gg(mrsea$mesh) + gg(vrt, color = "red")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.