matchLMCs: match.components

View source: R/matching.R

matchLMCsR Documentation

match.components

Description

Matching the recovered components to the reference

Usage

matchLMCs(That, Tref, method = "corrmatch", check = TRUE,
  Ahat = NULL)

Arguments

That

recovered components from factorization

Tref

reference components

method

one of "corrmatch" and "greedymatch"

check

for method "corrmatch": a flag specifying whether to check uniquenes of the match

Ahat

for method "greedymatch": recovered mixing proportions

Details

Wrapper function for component matching methods

Value

a vector of indices. The length and the order of the vector corresponds to the columns of TT and the indices specify the columns of Tref


lutsik/MeDeCom documentation built on Feb. 15, 2023, 11:32 a.m.