powered by
familycluster.index(clusters, index.type = FALSE, num = NULL, Rindex = 1)
i<-c(1,1,2,2,1,3) d<- familycluster.index(i) print(d)
Run the code above in your browser using DataLab