Skip to contents

Find the optimal permutation of latent classes

Usage

best_perm(Utrue, Uprop)

Arguments

Utrue

Vector of true class labels.

Uprop

Vector of estimated labels.

Value

A list containing the contingency table and the optimal permutation.