[R] Exponential distribution

ep ekkehardt.peters at lugv.brandenburg.de
Tue Mar 22 10:13:14 CET 2011


Try this

x <- seq(0,15,0.01)
plot(x+1, dexp(x, 0.2), c(0,15), c(0,0.8),type="l", ylab="f(x)")
lines(x+1, dexp(x, 0.8))
grid()
abline(v=1, col="lightgray", lty="dotted",)

Best 
ep



--
View this message in context: http://r.789695.n4.nabble.com/Exponential-distribution-tp3394476p3395829.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list