Description Usage Arguments Value Examples
The function cand_dgamma
is meant for computing the matrix
as the input for the function sample_pos_z
where the family of densities
are gamma. See also sample_pos_z
.
1 | cand_dgamma(x, s, r)
|
x |
a vector of values at which the gamma densities are evaluated. |
s |
a vector of shape parameters. |
r |
a vector of rate parameters. |
A matrix with (i,j) component equals the j-th gamma density evaluated at x_i.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.