repan {epandist} | R Documentation |
This function works in conjuncture with qepan
and runif
repan(n, mu = 0, r = 5^0.5)
n |
number of data points. |
mu |
mean of distribution. |
r |
half the range of the distribution, ie the distance from the mean to the smallest/largest value supported by the distribution. |
vector of random variables.
#Generate and plot 10000 random observations:
hist(repan(10000,mu=100,r=10))