Description Usage Arguments Details Value
Draw samples from a lognormal distribution.
1 | draw_lognormal(n, mu, sd)
|
n |
A vector of integer(-ish) values. |
mu |
A vector of means. |
sd |
A vector of standard deviations. |
N.B., unlike the original R function rlnorm
, this function
parametrises a lognormally distributed variable X by its mean and standard
deviation, rather than the mean and standard deviation of log(X).
A function that generates a list of length n
containing samples
drawn from the desired lognormal distributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.