wgs84_2aed_laea: Project spatial points from geographic coordinates

Description Usage Arguments Value Examples

Description

Project spatial points from geographic coordinates

Usage

1
wgs84_2aed_laea(data, longitude, latitude, which = "ED")

Arguments

data

matrix or data.frame that contains at least two columns, one with longitude information and the other with latitude information.

longitude

(character) the name of the column that contains the longitude information.

latitude

(character) the name of the column that contains the latitude information.

which

(character) type of projection. There are two options available: "ED", for Azimuthal Equidistant and "EA", for Lambert Azimuthal Equal-Area. Default = "ED".

Value

SpatialPointsDataFrame projected to an option in which.

Examples

1
2
3
4
data("sp_occurrences", package = "biosurvey")

sp_occ <- wgs84_2aed_laea(sp_occurrences, longitude = "longitude",
                          latitude = "latitude", which = "EA")

biosurvey documentation built on Sept. 16, 2021, 1:07 a.m.