rinvgauss | R Documentation |
Draw samples from inverse Gaussian distribution
rinvgauss(n, mean = 1, shape = NULL, dispersion = 1)
n |
sample size. |
mean |
vector of positive means. |
shape |
vector of (positive) shape parameters. |
dispersion |
vector of (positive) dispersion parameters. |
A vector of random samples from inverse Gaussian distribution
rinvgauss(100,mean=1,shape=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.