dlnorm(x, meanlog=0, sdlog=1) plnorm(q, meanlog=0, sdlog=1) qlnorm(p, meanlog=0, sdlog=1) rlnorm(n, meanlog=0, sdlog=1)
Lognormal Distribution. In Encyclopedia of Statistical Sciences. S. Kotz and N. L. Johnson, eds.
log(rlnorm(50)) #hard way to generate a sample of normalsxx <- seq(0, 6, length=200) plot(xx, dlnorm(xx), type="l") lines(xx, dlnorm(xx, meanlog=1), lty=2) lines(xx, dlnorm(xx, sdlog=3), lty=3) legend(3, .6, c("meanlog 0, sdlog 1", "meanlog 1, sdlog 1", "meanlog 0, sdlog 3"), lty=1:3) title(main="Lognormal Densities")