R/getAllDist2Centers.R

Defines functions getAllDist2Centers

getAllDist2Centers<-function(data,matCenters){

  
  sapply(1:nrow(data),function(rw){
    dist2Centers(data[rw,],matCenters)
  })
}
Noobivsho/ssClust documentation built on Aug. 10, 2019, 5:47 a.m.