[R] numericDeriv and ecdf

Khamenia, Valery V.Khamenia at BioVisioN.de
Fri Apr 25 13:31:26 CEST 2003


Hi All,

following expression:

  x <- sort(rnorm(10)); e <- ecdf(x); d <- numericDeriv(e(x),"x");

makes d far from approximation of one dimensional pdf.

What's wrong then here?

Kind regards.
---------------------------------------------------------------------------
Valery A.Khamenya
Bioinformatics Department
BioVisioN AG, Hannover



More information about the R-help mailing list