> "Shiazy" == Shiazy Fuzzy <[EMAIL PROTECTED]>
> on Wed, 30 May 2007 20:07:24 +0200 writes:
Shiazy> Hi!
Shiazy> I've noticed the ecdf() R code (R ver. 2.5.0) contains two call to
sort:
Shiazy> --- [R-code] ---
Shiazy> ecdf <- function(x)
Shiazy> x <- sort(x)
Sh
Hi!
I've noticed the ecdf() R code (R ver. 2.5.0) contains two call to sort:
--- [R-code] ---
ecdf <- function(x)
x <- sort(x)
n <- length(x)
if (n < 1)
stop("'x' must have 1 or more non-missing values")
vals <- sort(unique(x))
rval <- approx