Random generation for the truncated log normal distribution whose logarithm has mean equal to meanlog and standard deviation equal to sdlog.
rlnormt(n, meanlog, sdlog, lower, upper)
The length of the result is determined by n
.
number of observations
mean of the distribution on the log scale
standard deviation of the distribution on the log scale
numeric. Observations below this threshold are not present in the sample.
numeric. Observations above this threshold are not present in the sample.
Martin Haringa