Learn R Programming

unmarked (version 1.4.3)

sight2perpdist: Convert sight distance and sight angle to perpendicular distance.

Description

When distance data are collected on line transects using sight distances and sight angles, they need to be converted to perpendicular distances before analysis.

Usage

sight2perpdist(sightdist, sightangle)

Value

Perpendicular distance

Arguments

sightdist

Distance from observer

sightangle

Angle from center line. In degrees between 0 and 180.

See Also

distsamp

Examples

Run this code
round(sight2perpdist(10, c(0, 45, 90, 135, 180)))

Run the code above in your browser using DataLab