shape.to.rase: Transform a Shapefile into 'owin.object' Format

Description Usage Arguments Value Author(s) See Also Examples

Description

Transforms a Shapefile in format SpatialPolygonsDataFrame to the format owin.object used by rase.

Usage

1
	shape.to.rase(shape_poly)

Arguments

shape_poly

an object of class SpatialPolygonsDataFrame.

Value

Returns a list of polygons in owin.object format.

Author(s)

Ignacio Quintero

See Also

readShapePoly

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
# the Shapefiles for the distributions of the tips of the tree
data(rase_data, package = 'rase')	

psophia_shp
	
# Transform the shapefile into the format used by rase
polygons = shape.to.rase(psophia_shp)
	
# check the structure of the polygons
polygons

## End(Not run)

rase documentation built on May 2, 2019, 12:46 p.m.