I would like to simulate n numbers (all within the range between a and b, n being an even number) using R, and the mean (u) and median (m) is given.
If I use runif then the standard deviation is needed, and the data is not equidistantly spaced either.
Help is appreciated!
runif()function does not require a standard deviation (rnorm()does). Do you need the data to be equidistantly spaced? – gung - Reinstate Monica Apr 20 '15 at 02:00