https://github.com/cran/unmarked
Raw File
Tip revision: 0e9915b1bbee346e4c283f39772af69032684e39 authored by Ken Kellner on 09 January 2024, 10:20:02 UTC
version 1.4.1
Tip revision: 0e9915b
sight2perpdist.Rd
\name{sight2perpdist}
\Rdversion{1.1}
\alias{sight2perpdist}
\title{
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)
}
\arguments{
  \item{sightdist}{
	Distance from observer
}
  \item{sightangle}{
	Angle from center line. In degrees between 0 and 180.
}
}
\value{
Perpendicular distance
}
\seealso{
\code{\link{distsamp}}
}
\examples{
round(sight2perpdist(10, c(0, 45, 90, 135, 180)))
}

back to top