ds.function: Distance Sampling Functions

Description Usage Arguments Details Value Author(s)

View source: R/ds.function.r

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

1
2
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 documentation built on May 29, 2017, 7:16 p.m.

Search within the mrds package
Search all R packages, documentation and source code