lognorm_dist_def: Generate a Log Normal Distribution Definition Based on...

View source: R/deprecated.R

lognorm_dist_defR Documentation

Generate a Log Normal Distribution Definition Based on Parameter Estimates

Description

[Deprecated] Generates a distribution definition when only parameter estimates are available for log normal distributed parameters. See rlnorm() for distribution information.

Usage

lognorm_dist_def(mean, mean_sd, sd, sd_sd, max_value, samples, to_log = FALSE)

Arguments

mean

Numeric, log mean parameter of the gamma distribution.

mean_sd

Numeric, standard deviation of the log mean parameter.

sd

Numeric, log sd parameter of the gamma distribution.

sd_sd

Numeric, standard deviation of the log sd parameter.

max_value

Numeric, the maximum value to allow. Defaults to 120. Samples outside of this range are resampled.

samples

Numeric, number of sample distributions to generate.

to_log

Logical, should parameters be logged before use.

Value

A ⁠<data.table>⁠ defining the distribution as used by dist_skel()


epiforecasts/EpiNow2 documentation built on Aug. 24, 2024, 5:53 p.m.