Description Usage Arguments Value References Examples
Random number generator for the truncated normal distribution. To calculate the density please use dtuvn.
| 1 | 
| n | number of samples | 
| mean | mean | 
| sd | standard deviation | 
| lower | lower bound | 
| upper | upper bound | 
a vector of generated samples
Li, Y., & Ghosh, S. K. (2015). Efficient sampling methods for truncated multivariate normal and student-t distributions subject to linear inequality constraints. Journal of Statistical Theory and Practice, 9(4), 712-732.
| 1 2 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.