[R] cdf function: inverse to quantile?

Martin Maechler maechler at stat.math.ethz.ch
Fri Apr 4 18:09:27 CEST 2003


>>>>> "Ded" == Ded (David George Edwards) <ded at novonordisk.com>
>>>>>     on Thu, 3 Apr 2003 13:20:25 +0200  writes:

    Ded> Is there a function in R for calculating empirical
    Ded> cumulative distribution functions, i.e. the inverse of
    Ded> the quantile function? Perhaps in some library?

Yes: in the `stepfun' package 
     (and already re-invented in other places)

(( "package" {in R; and  "library section" in other S implementations}))

    Ded> I'd hate to have to re-invent the wheel.

good idea ;-)

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><



More information about the R-help mailing list