shape.extract: extract and create a shape object

View source: R/shade.fun.r

shape.extractR Documentation

extract and create a shape object

Description

extract the information from a SpatialPolygonsDataFrame object.

Usage

shape.extract(shp, column.index = 2)

Arguments

shp

a SpatialPolygonsDataFrame object, see readShapeSpatial.

column.index

Index of the region column in shp

Details

the function will also returns a global object which called global.objects.

Value

a shape object.

Author(s)

Jason Wen


iNZightVIT/iNZightMaps documentation built on May 4, 2024, 6:17 a.m.