powered by
PAM_Model(pamx, num_clusters, trainpharmat, train)
#pamx is the result of the PAM function #trainpharmat is the side effect train matrix #train is the feature train matrix #A<-PAM_Model(pamx,4,trainpharmat,train)
Run the code above in your browser using DataLab