brute_cpp: Brute-force calculation of an expected permutation matrix...

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

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.

Usage

1

Arguments

A

A matrix of assignment likelihoods.

Value

E(P), the expected permutation matrix corresponding to A.

Examples

1
2

expperm documentation built on May 29, 2019, 1:02 a.m.