This function will be called after an instance is built. User input will be stored in the environment.
Arguments
- mu
Numeric. Mean of the log of the random variable. Default is 0.
- sigma
Numeric. Standard deviation of the log the random variable. Default is 1.
Examples
# Instantiate
test <- rand_lognormal(mu = 1, sigma = 2)
test
#>
#> ── <RAND_LOGNORMAL object>
#> [mu: 1, sigma: 2]