powered by
inla.mesh
Converts the vertices of an inla.mesh object into a SpatialPointsDataFrame.
SpatialPointsDataFrame
vertices.inla.mesh(object)
An inla.mesh object.
A SpatialPointsDataFrame of mesh vertex locations. The vrt column indicates the internal vertex id.
vrt
# NOT RUN { data("mrsea") vrt <- vertices(mrsea$mesh) ggplot() + gg(mrsea$mesh) + gg(vrt, color = "red") # } # NOT RUN { # }
Run the code above in your browser using DataLab