View source: R/prior_specification.R
rlunif | R Documentation |
Return a random sample from the log-uniform distribution.
rlunif(n, min = 1, max = 2)
n |
Number of observations. |
min, max |
Limits of the distribution (must be strictly positive). These will be the limits of the samples returned. |
A vector of length n
containing random draws from the
log-uniform distribution.
Draws independent samples from Uniform(log(min), log(max)) and exponentiates.
rlunif(1, 0.01, 0.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.