powered by
Computes the expected permutation matrix and marginal likelihood from a matrix of assignment likelihoods using the Ryser method.
ryser(A, return.permanent = FALSE)
A matrix of assignment likelihoods.
A logical value indicating whether the function should also return the permanent of A, which is then added to the output as an attribute.
A
E(P), the expected permutation matrix corresponding to A.
E(P)
# NOT RUN { data(A) ryser(A) # }
Run the code above in your browser using DataLab