detfn: Distance sampling detection function

View source: R/detfn.R

detfnR Documentation

Distance sampling detection function

Description

Computes probability of detection at a given distance when provided with key function, adjustments and parameters

Usage

detfn(z, pars, key = "HN", adjn = 0, adjt = "cos", w = max(z))

Arguments

z

generic distance (radial or perpendicular) - can be scalar or vector

pars

the detection function parameter values (HN:s,adj1,adj2,...)(HR:s,b,adj1,adj2,...)(UNI:adj1,adj2,...)

key

the detection function key, default is Half Normal (HR and UNI might be alternatives)

adjn

if 0, no adjustment terms are used, if > 0, number of adjustments to use

adjt

type of adjustments to use, defaults to cosine series

w

truncation distance, only fundamental for adjustments, by default the max of the distances

Value

probability of detection


DistanceDevelopment/densgrad documentation built on May 9, 2024, 12:11 a.m.