R/hr.detect.R

Defines functions hr.detect

hr.detect <- function(x, scale, shape){
#returns the probability of detection based on a hazard-rate detection function
  return(1-exp(-(x/scale)^-shape))  
}

Try the DSsim package in your browser

Any scripts or data that you put into this service are public.

DSsim documentation built on March 26, 2020, 7:39 p.m.