meanlog
and standard deviation equal to sdlog
.dlnorm(x, meanlog = 0, sdlog = 1, log = FALSE)
plnorm(q, meanlog = 0, sdlog = 1, lower.tail = TRUE, log.p = FALSE)
qlnorm(p, meanlog = 0, sdlog = 1, lower.tail = TRUE, log.p = FALSE)
rlnorm(n, meanlog = 0, sdlog = 1)
length(n) > 1
, the length
is taken to be the number required.0
and 1
respectively.dlnorm
gives the density,
plnorm
gives the distribution function,
qlnorm
gives the quantile function, and
rlnorm
generates random deviates. The length of the result is determined by n
for
rlnorm
, and is the maximum of the lengths of the
numerical arguments for the other functions. The numerical arguments other than n
are recycled to the
length of the result. Only the first elements of the logical
arguments are used.dnorm
for the normal distribution.