Learn R Programming

popgraph (version 1.4)

to_SpatialPoints: Translate object into a SpatialPoints object

Description

Returns spatial points object

Usage

to_SpatialPoints(x, stratum = "Name", longitude = "Longitude", latitude = "Latitude", ...)

Arguments

x
The object containin coordinates.
stratum
The name of the variable in x that represents the stratum to be used as points.
longitude
The key for the attribute representing Longitude (default="Longitude")
latitude
The key for the attribute representing Latitude (default="Latitude")
...
Optional arguments passed to overriden objects

Value

An object of type SpatialPoints