as.area: Objects of Class "area"

Description Usage Arguments Value See Also Examples

Description

Objects of class area are used to store the information on the shape of vectorised objects.
An object of class area is a data frame with three variables. The first variable is a factor defining the polygons.
The second and third variables are the xy coordinates of the polygon vertices in the order where they are found. This kind of objects are current in the package ade4, though this package does not define area as a special class.

Usage

1

Arguments

x

a data frame with three columns

Value

Returns an object of class area

See Also

area.plot (package ade4) for other operations on objects of class area, plot.area to display objects of this class, and area2dxf for exportation of the objects area toward a GIS.

Examples

1
2
3
data(elec88)
ar <- as.area(elec88$area)
plot(ar)

adehabitat documentation built on Nov. 28, 2017, 5:03 p.m.