meanlog and standard
deviation equal to sdlog.
It also allows sampling from the truncated distribution.
[Special Generator] -- Sampling Function: Log-Normal.urlnorm(n, meanlog=0, sdlog=1, lb=0, ub=Inf)0 and 1, respectively. The generation algorithm uses fast numerical inversion. The parameters
lb and ub can be used to generate variates from
the Log-Normal distribution truncated to the interval (lb,ub).
runif and .Random.seed about random number
generation, unuran for the UNU.RAN class, and
rlnorm for the Rbuilt-in generator.## Create a sample of size 1000
x <- urlnorm(n=1000)Run the code above in your browser using DataLab