Displaying 1 result from an estimated 1 matches for "ecdf_linear".
2006 Jan 18
0
R: ecdf - linear
...ecome part of ecdf() itself.
If you write such a "ecdf -> interpolated_ecdf" transforming
function, it might be useful to include in the ecdf() help page
later, so "keep us posted".
Regards,
Martin Maechler, ETH Zurich
Norman> my changed function:
N>> ecdf_linear<-function (x)
N>> {
N>> x <- sort(x)
N>> n <- length(x)
N>> if (n < 1)
N>> stop("'x' must have 1 or more non-missing values")
N>> vals <- sort(unique(x))
N>>...