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

integratepdf

Numerically integrate pdf of observed distances over specified ranges


Description

Computes integral of pdf of observed distances over x for each observation. The method of computation depends on argument switches set and the type of detection function.

Usage

integratepdf(
  ddfobj,
  select,
  width,
  int.range,
  standardize = TRUE,
  point = FALSE,
  left = 0,
  doeachint = FALSE
)

Arguments

ddfobj

distance detection function specification

select

logical vector for selection of data values

width

truncation width

int.range

integration range matrix; vector is converted to matrix

standardize

logical used to decide whether to divide through by the function evaluated at 0

point

logical to determine if point count (TRUE) or line transect (FALSE)

left

left truncation width

doeachint

calculate each integral numerically

Value

vector of integral values - one for each observation

Author(s)

Jeff Laake & Dave Miller


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.