sighting_distances: Calculate distances to sightings

View source: R/sighting_distances.R

sighting_distancesR Documentation

Calculate distances to sightings

Description

This is a wrapper of sighting_distance()

Usage

sighting_distances(
  sits,
  optics_degrees = list(bigeyes = 0.057296, binocs = 0.279, eyes = 0.279, spotbox =
    0.00060585),
  default_method = "bigeyes",
  R = 6364.5,
  verbose = TRUE
)

Arguments

sits

A data.frame of sightings, produced by survey_overview() or survey_overviews(), with an additional column: km_ref (km to reference boundary).

optics_degrees

A named list specifying the degrees-per-reticle conversion for each optics instrument used in the survey. Spaces and capitalizations will be ignored.

default_method

The default optics method to use, in the event that it is missing for a sighting.

R

Radius of the earth, in kilometers (default is R at latitude 53 degrees).

verbose

Boolean: Print updates to Console?

Value

A vector of distances, in km.


ericmkeen/suRvey documentation built on Feb. 5, 2025, 7:44 a.m.