| sampler.gamma_dist | R Documentation |
gamma_dist object.Method for sampling from a gamma_dist object.
## S3 method for class 'gamma_dist'
sampler(x, ...)
x |
The |
... |
Additional arguments (not used) |
A function that generates n samples from the gamma distribution
x <- gamma_dist(shape = 2, rate = 1)
s <- sampler(x)
set.seed(42)
s(5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.