# NOT RUN {
# Load the example dataset of sparrow detections from package
data(sparrow.detections)
# Fit detection function to perpendicular, off-transect distances
dfunc <- F.dfunc.estim(sparrow.detections, w.hi=150)
# Extract the coefficient(s)
coef(dfunc)
# }
Run the code above in your browser using DataLab