R/hn.detect.R

Defines functions hn.detect

hn.detect <- function(x, scale){
#returns the probability of detection based on a half-normal detection function
  return(exp(-x^2/(2*scale^2)))
}

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.