r_lnorm: r_lnorm Generates

View source: R/lognormal_funs.R

r_lnormR Documentation

r_lnorm Generates

Description

iid lognormal draws with expectation (note not the same as the mu parameter) and sigma in the same manner as CASAL

Usage

r_lnorm(N, expectation, cv = NULL, sigma = NULL)

Arguments

N

<int>: number of draws

expectation

<double>: The expectation of the distribution, this is not the mu parameter because for the lognormal distribution the expectation is not the expectation parameter.

cv

<double>: The coefficent of variation of the distribution

sigma

<double>: The standard deviation of the distribution (in log space)


Craig44/stockassessmenthelper documentation built on April 14, 2023, 10:57 a.m.