canClu {blockmodeling} R Documentation

## Create canonical partition and find unique canonical partitions in a list of partitions.

### Description

It is used to convert any partition to a canonical partition. A canonical partition is a partition where the first unit is in cluster 1, the next unit that is not in cluster 1 in in cluster 2 and so on. So if we would take first appearances of clusters in the order they appear in the partition vector, we would get integers from 1 to the number of clusters.

### Usage

canClu(clu)

canCluUniqe(cluList)


### Arguments

 clu A partition - a vector or a list of vectors/partitions. cluList A list of partitions(vectors).

### Value

For function canClu - a canonical partition or a list of such partitions. For function canCluUniqe - A list of unique canonical partitions.

clu
clu<-c(3,2,2,3,1,2)