Description Usage Arguments Details Value Author(s) References Examples
Generates a random sample of size n from the desired triangular distribution with parameters, a and b.
1 | rtriangular(n, a, b)
|
n |
a numeric value which denotes the sample size. |
a |
a numeric value for the first parameter. |
b |
a numeric value for the second parameter. |
b should be greater than a.
Returns a vector of sample.
Ozlem Ilk
Ilk, O. (2011). R Yazilimina Giris [Introduction to R Language]. ODTU Yayincilik [METU Press].
1 | rtriangular(5,1,5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.