Prepare Equal-Area or Equidistant Projection
LAEA_projection(occurrences = NULL, spatial_object = NULL) AED_projection(occurrences = NULL, spatial_object = NULL)
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). |
An object of class CRS.
If arguments are not defined projection is centered in 0, 0 for longitude and latitude.
LAEA_projection()#> CRS arguments: #> +proj=laea +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m #> +no_defs#> CRS arguments: #> +proj=aeqd +lat_0=21.5897905564391 +lon_0=-79.7123540521493 +x_0=0 #> +y_0=0 +datum=WGS84 +units=m +no_defs