View source: R/random_generators.R
Random values simulation from the uniform distribution | R Documentation |
Random values simulation from the uniform distribution.
Runif(n, min = 0, max = 1)
n |
The number of values to generate. |
min |
The lower value of the uniform distribution. |
max |
The upper value of the uniform distribution. |
This function does the same job as R's built-in function runif
.
A vector with simulated values.
Manos Papadakis.
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.
Sample.int, rbeta1, riag
x <- Runif(1000, 0, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.