brute_cpp {expperm} | R Documentation |
Computes an expected permutation matrix and marginal likelihood from a matrix of assignment likelihoods. The function literally enumerates all permutations so will be impractial for matrices with more than 10 rows.
brute_cpp(A)
A |
A matrix of assignment likelihoods. |
E(P)
, the expected permutation matrix corresponding to A
.
data(A) brute_cpp(A)