integratepdf {mrds} | R Documentation |
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 ( |
left |
left truncation width |
doeachint |
calculate each integral numerically |
Value
vector of integral values - one for each observation
Author(s)
Jeff Laake & Dave Miller
[Package mrds version 2.3.0 Index]