makelabelmatrix {EMMIXSSL}R Documentation

Label matrix

Description

Convert class indicator into a label maxtrix.

Usage

makelabelmatrix(clust)

Arguments

clust

An n-dimensional vector of class partition.

Value

Z

A matrix of class indicator.

Examples

cluster<-c(1,1,2,2,3,3)
label_maxtrix<-makelabelmatrix(cluster)

[Package EMMIXSSL version 1.1.1 Index]