Skip to contents

Lognormal density distribution in median parametrization.

Usage

dlognormal(x, mu, sigma, log = FALSE)

Arguments

x

Value space of the distribution, x > 0

mu

Median parameter, mu is already log-transformed, mu unbound

sigma

Sigma shape parameter, sigma >= 0

log

Bool argument, if true, returns the logarithmic density

Value

Normal distribution density with logit link function

Examples

x <- seq(from = 0.1, to = 10, length.out = 100)
plot(x, dlognormal(x, mu = 1, sigma = 0.5), type = "l")