powered by
It evaluates the centroids of a partition with the weights in rw
rw
centroids(df,cl,rw=rep(1/nrow(df),nrow(df)))
Object of class list with the following:
list
class centroids
class weights
correlation ratios
object of class data.frame, with the data of variables or coordinates
data.frame
vector indicating the cluster of each element
weight of the rows of df, by default the same
Campo Elias Pardo cepardot@unal.edu.co
data(iris) centroids(iris[,-5],iris[,5])
Run the code above in your browser using DataLab