Learn R Programming

lgcp (version 1.3-3)

as.owinlist.SpatialPolygonsDataFrame: as.owinlist.SpatialPolygonsDataFrame function

Description

A function to create a list of owin objects from a SpatialPolygonsDataFrame

Usage

## S3 method for class 'SpatialPolygonsDataFrame':
as.owinlist(obj, dmin = 0, check = TRUE,
  subset = rep(TRUE, length(obj)), ...)

Arguments

obj
a SpatialPolygonsDataFrame object
dmin
purpose is to simplify the SpatialPolygons. A numeric value giving the smallest permissible length of an edge. See ? simplify.owin
check
whether or not to use spatstat functions to check the validity of SpatialPolygons objects
subset
logical vector. Subset of regions to extract and conver to owin objects. By default, all regions are extracted.
...
additional arguments

Value

  • a list of owin objects corresponding to the constituent Polygons objects