Learn R Programming

mrds (version 2.3.0)

cdf.ds: Cumulative distribution function (cdf) for fitted distance sampling detection function

Description

Computes cdf values of observed distances from fitted distribution. For a set of observed x it returns the integral of f(x) for the range= (inner, x), where inner is the innermost distance which is observable (either 0 or left if left truncated). In terms of g(x) this is the integral of g(x) over range divided by the integral of g(x) over the entire range of the data (inner, W).

Usage

cdf.ds(model, newdata = NULL)

Value

vector of cdf values for each observation

Arguments

model

fitted distance sampling model

newdata

new data values if computed for values other than the original observations

Author

Jeff Laake

See Also

qqplot.ddf