The logit-normal distribution has a support of 0 to 1.
Usage
rlogitnorm(n, meanlogit = 0, sdlogit = 1)
Arguments
- n
number of observations
- meanlogit
the mean on the logit scale
- sdlogit
the sd on the logit scale
Value
a vector of probabilities, quantiles, densities or samples.
Examples
rlogitnorm(10, 0, 1)
#> [1] 0.6238291 0.6065771 0.2521155 0.6293327 0.8063109 0.3044014 0.4904293
#> [8] 0.6913545 0.5625072 0.5268861