Skip to content
Back to formatted view

Raw Message

Message-ID: <200305151239.52627.deepayan@stat.wisc.edu>
Date: 2003-05-15T17:39:52Z
From: Deepayan Sarkar
Subject: Cumulated probability plot
In-Reply-To: <2B302C161738D611915300300530013F01734ED4@drsse109.drs.infineon.com>

On Thursday 15 May 2003 12:04, klaus.thul at infineon.com wrote:
> Hello,
>
> is there an easy possiblity in R to produce a plot of the cumulative
> probability of a variable in R? (variable given as a sample vector)

What do you mean by cumulative probability ? If you mean the Empirical 
Distribution Function, try

x <- rnorm(100)
library(stepfun)
plot(ecdf(x))

-Deepayan