Learn R Programming

algebraic.dist (version 0.9.1)

mean.lognormal: Mean of a log-normal distribution.

Description

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

Usage

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

Value

The mean of the distribution.

Arguments

x

A lognormal object.

...

Additional arguments (not used).

Examples

Run this code
mean(lognormal(0, 1))

Run the code above in your browser using DataLab