Description Usage Arguments Details Value References See Also
Generates pseudo-random numbers from a symmetric triangular distribution.
1 | rtri(n, r)
|
n |
number of random variables to generate. |
r |
concentration parameter of the distribution. r must be between 0 and 4/pi^2. |
The triangular cdf is inverted to obtain the random numbers.
Returns a vector of n independent random variables generated from a symmetric triangular distribution with mean direction 0 and concentration parameter r.
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 2.3.3, World Scientific Press, Singapore.
dtri
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.