search for: rnorm25

Displaying 1 result from an estimated 1 matches for "rnorm25".

2011 Aug 04
2
random value generation with added constraint.
Hi I am looking at generating a random dataset of say 100 values fitting in a normal distribution of a given mean and SD, I am aware of rnorm function. However i am trying to build into this function one added constraint that all the random value generated should also obey the constraint that they only take values between say X to X+25 How do i do this in R? Any help would be highly appreciated,.