Displaying 1 result from an estimated 1 matches for "filenameoutput".
2010 Jan 11
1
K-means recluster data with given cluster centers
...sterCenters.RData") # load cluster centers
# LOOP OVER TRAJ AND RECLUSTER THEM
for(ii in loopStart:loopEnd){
# DEFINE FILENAME
#print(paste("test",ii,sep=""))
filenameInput=paste("dataset",ii,"dat",sep="")
filenameOutput=paste("dataset",ii,"datClusters",sep="")
print(filenameInput)
print(filenameOutput)
# LOAD DATA
data_unclean <- read.table(filenameInput)
data.matrix<-as.matrix(data_unclean,"any")
# RECLUSTER DATA...