calculate.theta.given.mean.detection.prob(detection.function="hazard",theta2=2,w=1,
mean.detection.prob.value=0.6) # should equal 0.448
calculate.theta.given.mean.detection.prob(detection.function="halfnormal",w=1,
mean.detection.prob.value=0.6) # should equal 0.502
Run the code above in your browser using DataLab