https://github.com/cran/unmarked
Raw File
Tip revision: 0136b4ed3af7fad0eec521631b4d2ea546980de2 authored by Ian Fiske on 02 March 2010, 00:00:00 UTC
version 0.8-3
Tip revision: 0136b4e
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