Displaying 1 result from an estimated 1 matches for "kclassa".
Did you mean:
classa
2007 Nov 27
2
exporting clustering results to table
...ch did not work:
clustersA <- pam(distances, nkA, diss=TRUE);
gc();
filenameclu = paste("filenameclu", ".txt");
write.table(clustersA , file=filenameclu,sep=",");
although it worked with
clustersA <- hclust(distances, method="ward");
and a consecutive
kclassA <- cutree(clustersA, k=nkA);
filename = paste("clusters", ".txt");
write.table(kclassA,file=filename,sep=",",col.names=TRUE,row.names=TRUE);
Is there a <em>generic</em> method to export cluster object? I know that
pam is different (cluster object and s...