ylim in dendrogram plot ... error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ylim in dendrogram plot ... error

Karim Elsawy
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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html