LAEA_projection: Prepare Equal-Area or Equidistant Projection

Description Usage Arguments Details Value Examples

View source: R/helpers.R

Description

Prepare Equal-Area or Equidistant Projection

Usage

1
2
3
LAEA_projection(occurrences = NULL, spatial_object = NULL)

AED_projection(occurrences = NULL, spatial_object = NULL)

Arguments

occurrences

matrix or data.frame containing coordinates to serve as a reference for the center of the projection. Columns must be: "longitude" and "latitude", in that order.

spatial_object

Spatial* objects, Points or Polygons, to be used to calculate a reference for the center of the projection. Projection must be WGS84 (EPSG:4326).

Details

If arguments are not defined projection is centered in 0, 0 for longitude and latitude.

Value

An object of class CRS.

Examples

1
2
3
4
5
LAEA_projection()

data("occ_p", package = "rangemap")
occ <- unique(occ_p)[, 2:3]
AED_projection(occ)

rangemap documentation built on Sept. 5, 2021, 5:17 p.m.