Description Usage Arguments Value Author(s) See Also
Convert sp
curve objects to inla.mesh.segment
objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | as.inla.mesh.segment(sp, ...)
inla.sp2segment(sp, ...) ## For backwards compatibility
## S3 method for class 'Line'
as.inla.mesh.segment(sp, reverse=FALSE, ...)
## S3 method for class 'Lines'
as.inla.mesh.segment(sp, join=TRUE, ...)
## S3 method for class 'SpatialLines'
as.inla.mesh.segment(sp, join=TRUE, grp=NULL, ...)
## S3 method for class 'SpatialLinesDataFrame'
as.inla.mesh.segment(sp, ...)
## S3 method for class 'Polygon'
as.inla.mesh.segment(sp, ...)
## S3 method for class 'Polygons'
as.inla.mesh.segment(sp, join=TRUE, ...)
## S3 method for class 'SpatialPolygons'
as.inla.mesh.segment(sp, join=TRUE, grp=NULL, ...)
## S3 method for class 'SpatialPolygonsDataFrame'
as.inla.mesh.segment(sp, ...)
|
sp |
An |
join |
If |
grp |
Group ID specification for each polygon, as used by
|
reverse |
Logical, indicating if the line sequence should be traversed backwards. |
... |
Additional arguments passed on to other methods. |
A inla.mesh.segment
object, or a list of
inla.mesh.segment
objects.
Finn Lindgren finn.lindgren@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.