ryser_cpp {expperm} | R Documentation |
The Ryser method for computing an expected permutation matrix using C++
Description
Computes the expected permutation matrix and marginal likelihood from a matrix of assignment likelihoods using the Ryser algorithm.
Usage
ryser_cpp(A)
Arguments
A |
A matrix of assignment likelihoods. |
Value
E(P)
, the expected permutation matrix corresponding to A
.
Examples
data(A)
ryser_cpp(A)
[Package expperm version 1.6 Index]