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).
cdf.ds(model, newdata = NULL)
fitted distance sampling model
new data values if computed for values other than the original observations
vector of cdf values for each observation
This is an internal function that is not intended to be invoked
directly. It is called by
qqplot.ddf to compute values for
Kolmogorov-Smirnov and Cramer-von Mises tests and the Q-Q plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.