View source: R/lognormal_funs.R
r_lnorm | R Documentation |
iid lognormal draws with expectation (note not the same as the mu parameter) and sigma in the same manner as CASAL
r_lnorm(N, expectation, cv = NULL, sigma = NULL)
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) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.