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

View source: R/arealMethods.R

as.owinlist.SpatialPolygonsDataFrameR Documentation

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


lgcp documentation built on Oct. 3, 2023, 5:08 p.m.