[R] ylim in dendrogram plot ... error

From: Karim Elsawy <elsawy_at_ysbl.york.ac.uk>
Date: Thu 23 Feb 2006 - 03:14:29 EST


I'm trying to plot a dendrogram object which is created using "as.dendogram" function. It works fine however I can not change the yaxis limits of the plot.

   tree<-as.dendrogram(hclust(as.dist(dissim),method="single"))    plot(tree,ylim=range(0,20))
   Error in plot.default(0, xlim = xlim, ylim = ylim, type = "n", xlab =    xlab, :

         formal argument "ylim" matched by multiple actual arguments

This is imporatant for getting a consistant scale for different trees plotted side by side

your help is very much appreciated
Karim



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Feb 23 03:49:18 2006

This archive was generated by hypermail 2.1.8 : Thu 23 Feb 2006 - 06:23:11 EST