# NOT RUN {
# Load the example datasets of sparrow detections and transects from package
data(sparrow.detections)
data(sparrow.transects)
# Fit detection function to perpendicular, off-transect distances
dfunc <- F.dfunc.estim(sparrow.detections, w.hi=150)
# Print the output
print(dfunc)
# }
Run the code above in your browser using DataLab