Displaying 7 results from an estimated 7 matches for "pltree".
Did you mean:
petree
2006 Jan 27
1
Justification of dendrogram labels
Hi all,
Can someone tell me how to justify (right or left) the labels on the
branches of a dendrogram tree? I have produced a dendrogram via agnes and
plotted it with pltree. The dendrogram terminal branch labels seem to be
centre-justified by default and I was hoping to change this to left
justification. Thanks,
Duncan
*****************************************
Dr. Duncan Mackay
School of Biological Sciences
Flinders University
GPO Box 2100
Adelaide
S.A. 5001
AUST...
2006 Dec 05
1
cluster package
Hi list,
I am doing cluster analysis using the cluster package. I created a dendrogram using the function plot(agnes(myData)). When I try to change the sise of labels, it does not work. I tried cex = 1.5, etc. Nothing worked. Can anyone give me a hint on how to change the sise of the labels, as well as the sise of axes labels.
Thanks
Mahdi
--
-----------------------------------
Mahdi Osman
2013 Apr 23
1
assigning cluster id in cluster package-reg.
Well, you don't give much of an example....
I'm replying CC to the R mailing list. Please ask questions there, rather
than adressing individuals for basic help.
Here is one; does it answer your question ?
data(agriculture)
ag.ag <- agnes(agriculture)
class(ag.ag)
pltree(ag.ag) # the dendrogram, if you want to see it
## cut the dendrogram -> get cluster assignments:
(ck3 <- cutree(ag.ag, k = 3))
(ch6 <- cutree(as.hclust(ag.ag), h = 6))
stopifnot(identical(unname(ch6), ck3))
On Tue, Apr 23, 2013 at 6:37 PM, Ramesh krishnan Ramasamy <
ramesh.8v@gmail....
2010 Oct 17
0
make error for R 2.13.0
...tmp/Rtmpgxd64f/R.INSTALL33128ce7/cluster/man/plantTraits.Rd:69:
unexpected END_OF_INPUT 'Structuration de communaut
'
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Warning: S3 methods ‘clusplot.default’, ‘clusplot.partition’,
‘pltree.twins’, ‘silhouette.default’, ‘silhouette.clara’,
‘silhouette.partition’, ‘plot.agnes’, ‘plot.diana’, ‘plot.mona’,
‘plot.partition’, ‘plot.silhouette’, ‘print.mona’, ‘print.pam’,
‘print.summary.mona’, ‘print.summary.pam’, ‘print.summary.silhouette’,
‘summary.mona’, ‘summary.pam’, ‘summary.silhouett...
2002 Apr 29
2
cluster analyses
...would like to cut the dendrograms
to get a better view of specific components. I calculate the dissimilarity
matrix using daisy() because I have a mixture of variable types: factors,
ordered factors and numerical variables. If I want one dendrogram, I use
agnes() for the agglomerative nesting and pltree() to draw the dendrogram.
That way, I get the row names as labels, but I can't cut the tree.
Alternatively, I use hclust() on the dissimilarity matrix from daisy().
This allows me to cut the dendrogram with cutree(), but I loose the labels,
so that isn't much use. I can change the output...
2004 Sep 24
1
Cannot build cluster_1.9,6 under R 2.0.0 beta Sep 21
...text html latex
plot.agnes text html latex example
plot.diana text html latex example
plot.mona text html latex
plot.partition text html latex example
pltree text html latex
pltree.twins text html latex example
pluton text html latex example
predict.ellipsoid text html latex
print.agnes text html late...
2003 Aug 04
1
hclust() and agnes() method="average" divergence (PR#3648)
...t;-subset(ereck,select=c(11:18,20:32))
library(cluster)
library(mva)
daisemol<-daisy(emol,type=list(asymm=c(1:21)))
layout(matrix(c(1,1,2,2),2,2,byrow=TRUE))
hclustmol<-hclust(daisemol,method="average")
plot(hclustmol,cex=0.6)
agnesmol<-agnes(daisemol,method="average")
pltree(agnesmol,cex=0.6)
coagnes<-cophenetic(agnesmol)
cor(coagnes,daisemol)
cohclust<-cophenetic(hclustmol)
cor(cohclust,daisemol)
I'm using R 1.7.1 (2003-06-16) on Windows XP. Library "cluster" version
1.7.4 and library "mva" version 1.7.1.
Best wishes,
Mikkel
Mikkel...