powered by
Generate a random sample from a truncated normal distribution.
getTruncatedNormal(mean, variance)
the mean of the normal distribution
The variance of the normal distribution
A random sample from the specified truncated normal distribution
# NOT RUN { getTruncatedNormal(mean=3,variance=100) # }
Run the code above in your browser using DataLab