Description Usage Arguments Details Value Note Author(s) See Also Examples
Hyperdirichlet distribution with nonzero coefficients for terms consisting of a pair of ps.
1 | justpairs(x)
|
x |
A square matrix. Upper triangular elements correspond to pairs of included ps, and lower triangular elements correspond to pairs of excluded ps |
The PDF is
∏_{i<j}≤ft(p_i+p_j\right)^{M[i,j]} ≤ft(1-p_i-p_j\right)^{M[j,i]}
Returns a hyperdirichlet object (without normalizing factor) of
dimension nrow(x)
.
The case where nrow(x)==4
is treated specially. In this
case, the lower triangular elements are discarded, with a warning.
Robin K. S. Hankin
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.