BG {expperm} | R Documentation |
Computes the expected permutation matrix and marginal likelihood from a tridiagonal matrix of assignment likelihoods using the Brualdi-Gibson method.
BG(A, return.permanent = FALSE)
A |
A tridiagonal matrix of assignment likelihoods. |
return.permanent |
A logical value indicating whether the function should also return the permanent of |
E(P)
, the expected permutation matrix corresponding to A
.
data(triA) BG(triA)