Description Usage Arguments Value Examples
This function generates truncated normal random variables
1 | tnorm(n, lo, hi, mu, sig)
|
n |
number of random variables |
lo |
lower truncation value. If none, just put -Inf |
hi |
upper truncation value. If none, just put Inf |
mu |
the mean of the untruncated normal distribution |
sig |
the standard deviation of the untruncated normal distribution |
A vector of numbers
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.