Hi list, I used heatmap() and heatmap.2() to draw the dendrogram and got error messages for both. They were:
heatmap(as.matrix(y3),col=rainbow(256),scale = "column");dev.off(); Error in hclustfun(distfun(x)) : NA/NaN/Inf in foreign function call (arg 11) Does anybody know how to correct this? I do see some NAs in the dataset. Thanks a lot! Allen [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.