in 1:loops){ nhat<-whichExample[,1]) #finds the position of the first date in column 2 according to the first column
nend<-whichOps.data.frame(Example[1, 2], Example[, 1]) : ‘==’ only
distGeo(centers[x,], pts))})
closestcenter<-apply(dm, 1, which.minthe original data for verification#create a scatter plot of assets color coded by which我已经在网上查看过了,但是找不到任何方法将计数条件添加到which.min语句中。
注意:我的实际数