[R] ylim in dendrogram plot ... error

Karim Elsawy elsawy at ysbl.york.ac.uk
Wed Feb 22 17:14:29 CET 2006


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




More information about the R-help mailing list