labelCluster {epca}R Documentation

Label Cluster

Description

Assign cluster labels to each row from the membership matrix.

Usage

labelCluster(x, ties.method = "random")

Arguments

x

matrix with non-negative entries, where x[i,j] is the estimated likelihood (or any equivalent measure) of node i belongs to block j. The higher the more likely.

ties.method

character, how should ties be handled, "random", "first", "last" are allowed. See base::rank() for details.

Value

integer vector of the same length as x. Each entry is one of 1, 2, ..., ncol(x).


[Package epca version 1.1.0 Index]