Skip to contents

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

Jeff Laake & Dave Miller