project_mark_recapture: projects mark_recapture_object to another coordinate system

View source: R/project_mark_recapture.R

project_mark_recaptureR Documentation

projects mark_recapture_object to another coordinate system

Description

This function projects all relevant components of a mark_recapture_object to another coordinate system, which can be specified. These components are the recovery data and the window.

Usage

project_mark_recapture(
  mark_recapture_object,
  lon = "longitude",
  lat = "latitude",
  old_crs = NULL,
  new_crs = "ESRI:54009"
)

Arguments

mark_recapture_object

object of class mark_recapture_object (see mark_recapture_object())

lon

column name of the column containing information on longitude

lat

column name of the column containing information on latitude

old_crs

coordinate system of the input owin-object. Defaults to longitude/latitude "EPSG:4326"

new_crs

coordinate system of the output owin-object. Defaults to the Mollweide Projection "ESRI:54009"

Value

data.frame with projected coordinate-system

Examples

mro2 <- project_mark_recapture(mro2D)


SaskiaSchirmer/CONSURE documentation built on Sept. 3, 2023, 8:52 a.m.