getLNparms: Get parameters for a log-normal distribution

View source: R/utilities.R

getLNparmsR Documentation

Get parameters for a log-normal distribution

Description

Parameters for a lognormal distribution: mu & sdlog from median/mean and variance

Usage

getLNparms(mid, var, med = TRUE)

Arguments

mid

the midpoint of the distribution (median/mean depending on med)

var

the variance of the distribution

med

logical to assume mid is median (default) or otherwise mean.

Value

list mu, sig being mu and sdlog for lognormal distribution

Author(s)

Pete Dodd


petedodd/HEdtree documentation built on Dec. 5, 2022, 6:22 a.m.