to_SpatialPoints: Translate object into a SpatialPoints object

View source: R/to_SpatialPoints.R

to_SpatialPointsR Documentation

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

Author(s)

Rodney J. Dyer rjdyer@vcu.edu


dyerlab/popgraph documentation built on July 22, 2022, 5:42 p.m.