convert_to_logmean: Convert mean and sd to log mean for a log normal distribution

convert_to_logmeanR Documentation

Convert mean and sd to log mean for a log normal distribution

Description

[Stable] Convert from mean and standard deviation to the log mean of the lognormal distribution. Useful for defining distributions supported by estimate_infections(), epinow(), and regional_epinow().

Usage

convert_to_logmean(mean, sd)

Arguments

mean

Numeric, mean of a distribution

sd

Numeric, standard deviation of a distribution

Value

The log mean of a lognormal distribution

Examples


convert_to_logmean(2, 1)

epiforecasts/EpiNow2 documentation built on Dec. 10, 2024, 5:32 p.m.