powered by
Wrapper of the msm::rtnorm() function, improving on outputs management and user feedback on edge cases
rtnorm_dmp(n, mean = 0, sd = 1, lower = -Inf, upper = Inf)
a vector of samples values from the truncated normal distribution
An integer value. The number of samples to generate
A decimal value. The mean for the truncated normal distribution
A decimal value. The standard deviation of the distribution to simulate
A decimal value. The lower limit for the distribution
A decimal value. The upper limit for the distribution
rtnorm_dmp(n=10,mean=0.4,sd=0.2)
Run the code above in your browser using DataLab