[R] Exponential distribution

danielepippo danzur at hotmail.it
Tue Mar 22 00:10:59 CET 2011


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: http://r.789695.n4.nabble.com/Exponential-distribution-tp3394476p3395057.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list