r_unif {rando} | R Documentation |
Generate Uniformly Distributed Values
Description
Generates a set of Uniformly distributed values.
Usage
r_unif(min = 0, max = 1, ..., n = default_n(min, max), .seed = NULL)
Arguments
min , max |
vectors of lower and upper limits of the distribution |
... |
Unused |
n |
number of observations to generate. The |
.seed |
One of the following:
To extract the random seed from a previously generated set of
values, use |
Value
A numeric vector of length n
Examples
set_n(5)
r_unif()
r_unif(1:5, 6:10)
r_unif(1:5, 10)
r_unif(n = 10)
[Package rando version 0.2.0 Index]