my_gig | R Documentation |
Vectorized version of rgig
my_gig(n, lambda, chi, psi)
n |
A single integer indicating the number of draws to generate. |
lambda |
vector of shape parameters. |
chi |
vector of shape/scale parameters. Must be nonnegative for positive lambdas and positive else. |
psi |
vector of shape/scale parameters. Must be nonnegative for negative lambdas and positive else. |
Matrix of dimension c(n,m)
, where m
is the maximum length of lambda
, psi
and chi
.
gigsamples <- my_gig(2, c(1,1), c(1,1), c(1,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.