powered by
Returns a function that evaluates the log-normal PDF at given points.
# S3 method for lognormal density(x, ...)
A function function(t, log = FALSE, ...) returning the density (or log-density) at t.
function(t, log = FALSE, ...)
t
A lognormal object.
lognormal
Additional arguments (not used).
x <- lognormal(0, 1) f <- density(x) f(1) f(2)
Run the code above in your browser using DataLab