Displaying 1 result from an estimated 1 matches for "filenameinput".
Did you mean:
filenameinit
2010 Jan 11
1
K-means recluster data with given cluster centers
...t="0"
loopEnd="10"
# LOAD CLUSTER CENTER
load("clusterCenters.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)
d...