[R] Inverse fuction of ecdf

Benilton Carvalho bcarvalh at jhsph.edu
Sun Jan 28 23:45:07 CET 2007


?quantile

b

On Jan 28, 2007, at 5:41 PM, Geoffrey Zhu wrote:

> Hi Everyone,
>
> I want to generate some random numbers according to some empirical
> distribution. Therefore I am looking for the inverse of an empirical
> cumulative distribution function. I haven't found any in R. Can anyone
> give a pointer?
>
> Thanks,
> Geoffrey



More information about the R-help mailing list