Displaying 18 results from an estimated 18 matches for "plclust".
Did you mean:
hclust
2003 May 06
1
S's plclust and R's hclust
Hello everyone,
Does anyone know how to implement the argument "unit" in R's plclust
function ? I used to use Splus where this argument exists but it has not
been implemented in R's plclust. The reason why I switched from Splus to
R is that Ward's method is not implemented for S's hclust whereas it is
implemented for R's hclust. What I would need is S's plclust...
2005 Mar 24
2
font sizes for row.names of dendograms
Dear R
I recently performed a cluster analysis. It produced the dendogram no
problem but unfortunately the font size of the row.names were all cluttered
due to their large size
So I tried to change the font size using
plclust(cluster.results, labels=iris$specie, cex=0.8)
and R came back to me saying
Error in plclust(cluster.results, labels = iris$specie, cex = 0.8) :
unused argument(s) (cex ...)
>
what am I doing wrong here
brett stansfield
2003 Dec 01
0
Changing distance scale in plclust()
I want to plot the cluster trees from the results of hclust() on different
datasets, but all with the same distance scale corresponding to the dataset
with the largest distance range. However, plclust() does not accept ylim
values. Does anyone know of a way around this problem?
Mike White
2005 Nov 29
0
Error in plclust
...I need to plot a dendrogram, but I built a hclust object. Follow the code
lines:
>dendObject<-list(merge=merge,height=height,order=order,labels=labels,call="hclust(d=d)",method="complete",
dist.method="euclidean")
>class(dendObject)<-"hclust"
>plclust(dendObject,axes=FALSE)
Error in cl[[2]] : subscript out of bounds
Anybody can help me?
--
Marcelo Damasceno de Melo
Graduando em Ciência da Computação
Departamento de Tecnologia da Informação - TCI
Universidade Federal de Alagoas - UFAL
Maceió - Alagoas - Brasil
Projeto CoCADa - Construção do Co...
2000 Aug 31
2
Multiv / hierclust / plclust
I use hierclust (hierarchical clustering) in multiv package. In the
documentation it is said that plclust (plotting a dendrogram) is
available in S-plus. Can I find it anywhere (I have searched through
http://lib.stat.cmu.edu/S and found only quotations of plclust in
multiv) or is it only part of the S package (which I don't have)?
Thanks
---------------
Charles RAUX,
Laboratoire d'Economie...
2004 Sep 10
1
swiss.x
Is the swiss data set in R the same as S dataset swiss.x .
I was trying out some clustering by doing the following that I got from
Venables and Ripley's book.
h<-hclus(dist(swiss.x), method= "connected")
plclust(h)
cutree(h,3)
plclust(clorder(h,cutree(h,3)))
I tried swiss instead of swiss.x, it doesnot seem happy.
Thanks ../Murli
2011 Sep 12
1
hclust and cutree: identifying branches as classes
Good afternoon,
After cuting a hierarchical tree using cutree(), how to check correspondances between classes and branches?
This is what we do:
srndpchc <- hclust(dist(srndpc$x[1:1000,1:3]),method="ward") #creation of hierarchical tree
plclust(srndpchc,hmin=20000) #visualisation
srndpchc20000 = cutree(srndpchc,h=20000) #returns 4 classes
table(srndpchc20000 )
srndclass20000 = cbind(srnd@data[1:1000,],srndpchc20000) #assigning classes to objects
srndcents20000 <- aggregate(srndclass20000, by=list(srndpchc20000), FUN=median)
matplot(1...
1997 Aug 21
0
R-alpha: Mutivariate Analysis
...a "core" library rather than anything exhaustive.
> Mainly it is a matter of putting togther code which already exists at
> StatLib. Here is my present list (only some of which is finished).
> 1. Principal Components
> prcomp
> 2. Clustering
> dist, hclust, plclust, subtree, cutree
> kmeans
> 3. Canonical correlations (is this ever used?)
> cancor
> 4. Scaling
> cmdscal, sammon, isoscal
> 5. Graphics
> (Optimal) profile plots
> biplots
> stars etc
> A bunch of Michael Friendly's stuff convert...
2004 Jul 02
2
hclust
im using plclust and want the labels to be different colors.
i took a look at getS3method("plot","hclust")
and saw a call to .Internal. i looked at the help on .Internal and dont
know where to go next. any help appreciated!
thanks,
rafael
2002 Dec 17
0
Coloured label, terminal branch and bars in dendograms
...ant way of just getting the colored labels.
data(iris) # Formatting data into required format
ir <- iris[ ,-5]
ir.class <- c( rep("s", 50), rep("c", 50), rep("v", 50))
ir.hclust <- hclust( dist(ir), "average" ) # Hierarchical clustering
plclust(ir.hclust, label =rep("", 150)) # could also set hang=-1
option
mtext(ir.class[ir.hclust$order], side=1, col=
ir.fac.class[ir.hclust$order], at=1:150, line=-2)
This does not color the terminal branch and does not work very well if I
wish to cluster 400 - 500 objects as the text gets...
1997 Aug 25
0
R-alpha: `missing' BB functions
...ere are the functions documented in the Blue Book that I found missing
in R (ignoring the ones which are obviously outdated).
aggregate allocated amatch axes chull clorder cutree cycle date
debugger dget discr faces interp l1fit labclust lag loglin
monthplot mstree mulbar napsack odometer persp plclust plotfit
rep.int restore rreg sabl sablplot set.seed smooth sort.list
Stable stars starsymb storage subtree symbols tempfile tslines
tsmatrix tsplot tspoints twoway unlink usa xor
In some detail:
aggregate cycle lag smooth tslines tsmatrix tsplot tspoints:
Obviously useful for time series. An...
2011 Oct 07
1
R equivalent of proc varclus
Dear List
What is the R package equivalent of Proc Varclus or Information Value. ANy
assistance in determining R equivalents of f Oblique Component Analysis
(PROC VARCLUS), Information Value
(IV) and Weight Of Evidence (WOE) analysis, and business intelligence
http://www.nesug.org/proceedings/nesug06/an/da23.pdf
Regards,
Ajay
Websites-
http://decisionstats.com
[[alternative HTML version
2005 May 31
1
Loading matrices and other things
...iate function From what I can tell from here
<http://stat.ethz.ch/R-manual/R-devel/library/stats/html/dist.html> the
above matrix should be a valid format (even without the 0s), but
confirmation would be nice. And with hclust, does this produce a tree
with the output, or would that be the plclust function? I haven't been
able to experiment with this because of my inability to do accomplish
the previous question.
And last, I want to be able to run R on many different files of the same
matrix type. Is it possible to write a (Python) script run through the
appropriate tasks and save t...
2001 Apr 10
5
Similarity matrix
I frequently use hclust on a similarity matrix. In R only a
distance matrix is allowed. Is there a simple reliable
transformation of a similarity matrix that will result
in a distance matrix making hclust work the same as
S-Plus with a similarity matrix? Venables & Ripley 3rd
edition implies that a simple reversal of values
will suffice. Thanks -Frank
--
Frank E Harrell Jr
2004 Jun 17
1
Re: Clustering in R
...le, but it
michael> is not *that* difficult.
michael> If you are familiar with R, it should take you an
michael> hour or two; if unfamiliar, perhaps a day or two.
michael> The commands you want (and need to read the help on) are:
michael> hclust
michael> plclust
michael> cutree
and I would add identify.hclust() {and rect.hclust()}
a very neat but not known / used enough function
a link to which I have just added to the help(hclust) page.
Look at its examples {not with example() since they are
"dontrun"} correcting the extraneous "...
2010 Mar 11
2
cluster analysis labels for dendrogram
Hi,
I am clustering data based on three numeric variables. I have a fourth
variable that is categorical (site) which I would like to use to label the
leaves of my dendrogram, so I can see how the different sites are grouped
throughout the tree, but I do NOT want to use this variable in the cluster
analysis itself. Is there any way I can do this?
Thanks,
Samantha
--
View this message in
2003 Oct 08
1
R-1.8.0 is released
...on S4 methods and classes.
o Changes in package 'mva':
- factanal() now returns the test statistic and P-value formerly
computed in the print method.
- heatmap() has many more arguments, partly thanks to Wolfgang
Huber and Andy Liaw.
- Arguments `unit' and `hmin' of plclust() are now implemented.
- prcomp() now accepts complex matrices, and there is biplot()
method for its output (in the real case).
- dendrograms are slightly better documented, methods working with
"label", not "text" attribute. New rev() method for dendrograms.
- plot...
2003 Oct 08
1
R-1.8.0 is released
...on S4 methods and classes.
o Changes in package 'mva':
- factanal() now returns the test statistic and P-value formerly
computed in the print method.
- heatmap() has many more arguments, partly thanks to Wolfgang
Huber and Andy Liaw.
- Arguments `unit' and `hmin' of plclust() are now implemented.
- prcomp() now accepts complex matrices, and there is biplot()
method for its output (in the real case).
- dendrograms are slightly better documented, methods working with
"label", not "text" attribute. New rev() method for dendrograms.
- plot...