change_labels: Changes cluster labels

Description Usage Arguments Value Examples

Description

This function will change the cluster labels.

Usage

1

Arguments

tab

A data.table object containing the cluster labels.

Value

A data.table with the new cluster labels.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## You perform a clustering and get these groups :

test <- clustering(tab,res_pca,nb.max.clusters = 8,size.min = 30)
summary(test$cluster)
##   1   2   3   4   6
## 184  82  34 126  25

test <- change_labels(test)
summary(test$cluster)
##   1   2   3   4   5
## 184  82  34 126  25

guillaumelf/BarchenPackage documentation built on May 31, 2019, 11:50 p.m.