Wrapper of the msm::rtnorm() function, improving on outputs management and user feedback on edge cases
Arguments
- n
An integer value. The number of samples to generate
- mean
A decimal value. The mean for the truncated normal distribution
- sd
A decimal value. The standard deviation of the distribution to simulate
- lower
A decimal value. The lower limit for the distribution
- upper
A decimal value. The upper limit for the distribution