sp objects to inla.mesh.segment objects.as.inla.mesh.segment.Rdas.inla.mesh.segment(sp, ...)
inla.sp2segment(sp, ...)An sp polygon object of class Polygon,
Polygons, SpatialPolygons, or SpatialPolygonsDataFrame.
Additional arguments passed on to fmesher::fm_as_segm().
A inla.mesh.segment() object, or a list of
inla.mesh.segment() objects.
inla.sp2segment():
by
fmesher::fm_as_segm()