DS.penalty(detection.function = c("halfnormal", "hazard"), theta, mean.detection.prob.value, w, P = 0, stop = F)Clark, R. G. (2016), "Statistical efficiency in distance sampling," PLoS One, forthcoming, www.plosone.org
DS.penalty(detection.function="hazard",theta=c(NA,2),mean.detection.prob.value=0.6,w=1)
Run the code above in your browser using DataLab