Description Usage Arguments Value Examples
gengamixt
generates a sample from the mixture
of gamma distributions
with mixing probabilities of components given by
the matrix p.
1 | gengamixt(p, shape, rate)
|
p |
matrix (or data frame) of mixing probabilities. with rows corresponding to subjects. and columns coresponding to the mixture components. |
shape |
vector of shape parameters for gamma distributions of components. |
rate |
vector of rate parameters for gamma distributions of components. |
Vector with the sample. The sample size equals the rows number of p.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.