Skip to content
Prev 140487 / 398506 Next

difference between 2 ecdfs

Thanks to David and Zaihra for their help.

Besides plotting the difference between 2 ecdfs, I also would like it to
*look like* a step function. Any suggestion?

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of David Winsemius
Sent: Friday, March 21, 2008 8:51 PM
To: r-help at stat.math.ethz.ch
Subject: Re: [R] difference between 2 ecdfs

In article
<0FF736F1E306A446A88FD41FDDDC10AF1C77B0 at BWPW05.f2.enterprise>,
<Erwann.Rogard at sanofi-aventis.com> wrote:

            
#not tested  ...mydata not provided

ecrange<-range(mydata$Y)

plot(ecdfrefl(seq(from=ecrange[1],to=ecrange[2],by=0.2))
?unique
[1] 1 3 5 7

--
David Winsemius

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.