RAND_LOGNORMAL$gen | R Documentation |
This function generates random values from the random variable.
RAND_LOGNORMAL$gen(n, mu = NULL, sigma = NULL)
n |
Integer. Number of observations. |
mu |
Numeric. If it is provided and has length |
sigma |
Numeric. If it is provided and has length |
A vector of numeric values.
stats::rlnorm()
test <- rand_lognormal(mu = 1, sigma = 2)
test$gen(10)
test$gen(3, mu = c(0,1,2), sigma = c(1,2,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.