[R] cumulative distribution functions
Duncan Murdoch
dmurdoch at pair.com
Mon Nov 17 20:05:10 CET 2003
On Mon, 17 Nov 2003 18:30:08 -0000, "Monica Palaseanu-Lovejoy"
<monica.palaseanu-lovejoy at stud.man.ac.uk> wrote :
>hi y'all,
>
>I am wondering if there is any special command, function,
>package, etc to help me doing a cumulative distribution function,
>with y-scale - probability scale.
>
>I tried the help in R and i got the following answers:
>cumsum(base) Cumulative Sums, Products, and Extremes
>ecdf(stepfun) Empirical Cumulative Distribution Function
>cpgram(ts) Plot Cumulative Periodogram
>
>But i could not find either (stepfun) nor (ts) packages to read the
>specific help. Are they discarded? The "cumsum" seems not to do
>what i really was after.
You need to execute "library(stepfun)" before help for ecdf will work.
In general, the notation is
topic(package) Description
and you need library(package) to see ?topic.
Duncan Murdoch
More information about the R-help
mailing list