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. ______________________________________________ R-help@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.