Displaying 20 results from an estimated 2000 matches similar to: "binary_matrix_to_ascii_dendrogram"
2004 Feb 04
1
Clustering with 'agnes'
Hello,
I had a question regarding clustering using the agnes() function from the 'cluster' package.
I was wondering if anyone knew how I can identify cluster points after running the agnes function.
For example, I created a dataset with points randomly scattered around (0,0), (0,1) and (1,0). After clustering, the dendrogram shows all the clustered points and I get the ordering and
2002 Apr 29
2
cluster analyses
I'm clustering rather large data sets and 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
2007 Oct 16
0
doubts about Silhouette
Sorry for the long message. I'm doing my best to try to explain myself.
I have fitted a spline to my data, I have fitted a spline, filled in
the missing data by replicating the spline coefficients associated to
the last node. I obtained a number of dendograms by different
combination of distance and link-method by calling DIST and AGNES.
The agglomerative coefficient is very high (~ 0.99) for
2011 Jun 09
1
k-nn hierarchical clustering
Hi there,
is there any R-function for k-nearest neighbour agglomerative hierarchical
clustering?
By this I mean standard agglomerative hierarchical clustering as in hclust
or agnes, but with the k-nearest neighbour distance between clusters used
on the higher levels where there are at least k>1 distances between two
clusters (single linkage is 1-nearest neighbour clustering)?
Best regards,
2007 Nov 14
0
Question about AGNES by Rousseeuw et al. in the package "cluster": How many clusters?
Dear all,
I am no stat wiz and I am just trying to use the AGNES algorithm at my
very modest level of statistical of understanding. I have difficulties
understanding the ouput from AGNES. My question is: how to interpret
the output, especially how do you I know which cluster solution is the
best? In SPSS, an Agglomeration Schedule table is produced and I used to
look at the biggest jump between
2011 Jan 27
3
agnes clustering and NAs
Hello,
In the documentation for agnes in the package 'cluster', it says that NAs are allowed, and sure enough it works for a small example like :
> m <- matrix(c(
1, 1, 1, 2,
1, NA, 1, 1,
1, 2, 2, 2), nrow = 3, byrow = TRUE)
> agnes(m)
Call: agnes(x = m)
Agglomerative coefficient: 0.1614168
Order of objects:
[1] 1 2 3
Height (summary):
Min. 1st Qu. Median Mean 3rd
2010 Apr 05
0
Agnes in Cluster Package and index.G1 in the clusterSim package questions
Dear R Users:
I am new to R and I am trying to do a cluster analysis on a
single continuous variable using the Agnes [Agglomerative Nesting (Hierarchical
Clustering) ] in the Package ‘cluster’. I was able to apply this clustering method to
my data:
ward1 <- Agnes(balances, diss= FALSE, metric =
"euclidean", stand = TRUE, method = "ward", keep.diss
=TRUE, keep.data =
2007 Jul 23
1
Cluster prediction from factor/numeric datasets
Hi all,
I have a dataset with numeric and factor columns of data which I developed a
Gower Dissimilarity Matrix for (Daisy) and used Agglomerative Nesting
(Agnes) to develop 20 clusters.
I would like to use the 20 clusters to determine cluster membership for a
new dataset (using predict) but cannot find a way to do this (no way to
"predict" in the cluster package).
I know I can use
2005 Jan 25
4
agglomerative coefficient in agnes (cluster)
I haven't read the book, but could anyone explain more
about this parameter?
help(agnes) says that ac measures the amount of
clustering structure found. From the definition given
in help(agnes.object), however, it seems that as long
as
the dissimilarity of the merger in the final step of
the
algorithm is large enough, the ac value will be close
to
1. So what does ac really mean?
Thank
2003 Dec 11
1
cutree with agnes
Hi,
this is rather a (presumed) bug report than a question because I can solve
my personal statistical problem by working with hclust instead of agnes.
I have done a complete linkage clustering on a dist object dm with 30
objects with agnes (R 1.8.0 on
RedHat) and I want to obtain the partition that results from a cut at
height=0.4.
I run
> cl1a <- agnes(dm, method="complete")
2003 Dec 11
1
cutree with agnes
Hi,
this is rather a (presumed) bug report than a question because I can solve
my personal statistical problem by working with hclust instead of agnes.
I have done a complete linkage clustering on a dist object dm with 30
objects with agnes (R 1.8.0 on
RedHat) and I want to obtain the partition that results from a cut at
height=0.4.
I run
> cl1a <- agnes(dm, method="complete")
2009 Jan 17
1
Dendrogram with the UPGMA method
Hi,
I am clustering objects using the agnes() function and the UPGMA
clustering method (function = "average"). Everything works well, but
apparently something is wrong with the dendrogram. For example:
x<-c(102,102.1,112.5,113,100.3,108.2,101.1,104,105.5,106.3)
y<-c(110,111,110.2,112.1,119.5,122.1,102,112,112.5,115)
xy<-cbind(x,y)
library(cluster)
UPGMA.orig<-agnes(x)
2005 Nov 02
1
x/y coordinates of dendrogram branches
Dear R-users,
I need some help concerning the plotting of dendrograms for hierarchical
agglomerative clustering.
The agglomeration niveau of each step should be displayed at the
branches of the dendrogram.
For this I need the x/y coordinates of the branch-agglomerations of the
dendrogram.
The y-values are known (the heights of the agglomeration), but how can I
get the x-values?
> mydata
2003 Dec 08
2
Problems with voicepulse.com
Greetings,
I have been experimenting with Asterisk for a few weeks and finally
decided to
take the plunge and purchase a few DIDs for inbound calling. Our
attempts at
IAX/IAX2 connectivity with VoicePulse have been less than successful.
We get
"Registration Refused" errors from Asterisk whenever we launch the
server. The
front-line support folks at VoicePulse suggested that we are
2011 Apr 01
2
hc2Newick is different than th hclust dendrogram
Hi R helpers... I am having troubles because of the discrepancy
between the dendrogram plotted from hclust and what is wrote in the
hc2Newick file. I've got a matrix C:
> hc <- hclust(dist(C))
> plot(hc)
with the:
> write(hc2Newick(hc),file='test.newick')
both things draw completely different "trees"...
I have also tried with the raw distance matrix D and
2006 Feb 28
1
creating dendrogram from cluster hierarchy
Dear R users,
I have created data for hierarchical agglomerative cluster analysis
which consist of the merging pairs and the agglomeration heights, e.g.
something like
my.merge <- matrix(c(-1,-2,-3,1), ncol=2, byrow=TRUE)
my.height <- c(0.5, 1)
I'd like to plot a corresponding dendrogram but I don't know how to
convert my data to achieve this.
Is it possible to create a
2004 Jun 17
1
Re: Clustering in R
Thanks a lot, Michael!
I cc to R-help, where this question really belongs {as the
'Subject' suggests itself...} -- please drop 'bioconductor' from
CC'ing further replies.
>>>>> "michael" == michael watson (IAH-C) <michael.watson at bbsrc.ac.uk>
>>>>> on Thu, 17 Jun 2004 09:16:59 +0100 writes:
michael> OK, admittedly it
2006 Mar 13
3
Strange SSH login try.
Hello list.
Today I saw something strange in logs one of my servers. Part of the
/var/log/security:
Mar 12 15:01:03 server sshd[28505]: Invalid user abc from ::ffff:x.x.x.x
Mar 12 15:01:03 server sshd[28503]: Invalid user ab from ::ffff:x.x.x.x
Mar 12 15:01:03 server sshd[28507]: Invalid user abcd from ::ffff:x.x.x.x
Mar 12 15:01:03 server sshd[28509]: Invalid user abcde from ::ffff:x.x.x.x
Mar
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
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