Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/runif_by_mean.R
A function to generate uniform random numbers from a fixed mean
1 | runif_by_mean(mean, n)
|
mean |
Numeric, mean of the uniform random numbers |
n |
Integer, number of observations to be generated |
Sometime it is necessary to generate random numbers with a prespecified mean of the uniform distribution. This function will fullfil the goal
A numeric vector of uniform random numbers
Mohamad S. Hasan, shakilmohamad7@gmail.com
1 2 | x = runif_by_mean(mean = 3, n = 100)
summary(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.