BG: The Brualdi-Gibson method for computing an expected...

Description Usage Arguments Value Examples

View source: R/BG.R

Description

Computes the expected permutation matrix and marginal likelihood from a tridiagonal matrix of assignment likelihoods using the Brualdi-Gibson method.

Usage

1
BG(A, return.permanent = FALSE)

Arguments

A

A tridiagonal matrix of assignment likelihoods.

return.permanent

A logical value indicating whether the function should also return the permanent of A, which is then added to the output as an attribute.

Value

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

Examples

1
2

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