Description Usage Arguments Note
Simulate gamma random variates
1 2 3 4 5 6 7 8 |
n |
Positive integer; the number of samples. |
shape |
A dual number or a scalar; the shape of the gamma distribution. |
scale |
A dual number or a scalar; the scale of the gamma distribution. |
method |
'base' or 'inv_tf'; 'base' refers to 'stats::rgamma' while 'inv_tf' refers to inverse transform. |
At least one of 'shape' and 'scale' should be a dual number.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.