as.inla.mesh.segment(sp, ...)

inla.sp2segment(sp, ...)

Arguments

sp

An sp polygon object of class Polygon, Polygons, SpatialPolygons, or SpatialPolygonsDataFrame.

...

Additional arguments passed on to fmesher::fm_as_segm().

Value

A inla.mesh.segment() object, or a list of inla.mesh.segment() objects.

Functions

Author

Finn Lindgren finn.lindgren@gmail.com