Learn R Programming

DrugClust (version 0.2)

PAM: PAM

Description

PAM clustering algorithm

Usage

PAM(train, num_clusters)

Arguments

train
matrix of train features
num_clusters
number of clusters desired

Value

pamx structure with various values resulting from PAM clustering algorithm

Examples

Run this code
#train is the train feature matrix
#pamx<-PAM(train,4)

Run the code above in your browser using DataLab