Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ds.function

Distance Sampling Functions


Description

Computes values of conditional and unconditional detection functions and probability density functions for for line/point data for single observer or dual observer in any of the 3 configurations (io,trial,rem).

Usage

ds.function(
  model,
  newdata = NULL,
  obs = "All",
  conditional = FALSE,
  pdf = TRUE,
  finebr
)

Arguments

model

model object

newdata

dataframe at which to compute values; if NULL uses fitting data

obs

1 or 2 for observer 1 or 2, 3 for duplicates, "." for combined and "All" to return all of the values

conditional

if FALSE, computes p(x) based on distance detection function and if TRUE based on mr detection function

pdf

if FALSE, returns p(x) and if TRUE, returns p(x)*pi(x)/integral p(x)*pi(x)

finebr

fine break values over which line is averaged

Details

Placeholder – Not functional —-

Value

List containing

xgrid

grid of distance values

values

average detection fct values at the xgrid values

Author(s)

Jeff Laake


mrds

Mark-Recapture Distance Sampling

v2.2.4
GPL (>= 2)
Authors
Jeff Laake <jeff.laake@noaa.gov>, David Borchers <dlb@st-and.ac.uk>, Len Thomas <len.thomas@st-and.ac.uk>, David Miller <dave@ninepointeightone.net> and Jon Bishop
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.