Re: [R] Exponential distribution

From: danielepippo <>
Date: Mon, 21 Mar 2011 16:10:59 -0700 (PDT)

The code is like this:

plot(0,0, type="n", xlim=c(1,15), ylim=0:1, xlab="...",

ylab="...", main="Example)
lines(1:15, line1, col=4)
lines(1:15, line2, col=2)

legend("topright", c("alpha = 0.2", "alpha = 0.4"), col=c(4,2), lty=1)

How can I build the vectors line1 and line2 ?

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 21 Mar 2011 - 23:45:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Mar 2011 - 09:50:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive