Computes \(\exp(meanlog + sdlog^2 / 2)\).

# S3 method for class 'lognormal'
mean(x, ...)

Arguments

x

A lognormal object.

...

Additional arguments (not used).

Value

The mean of the distribution.

Examples

mean(lognormal(0, 1))
#> [1] 1.648721