search for: ruspini

Displaying 11 results from an estimated 11 matches for "ruspini".

Did you mean: respin
2002 May 20
1
R bug in cluster package (PR#1580)
...roblem occurs when you try to use "pam" with the input being a dissimilarity matrix instead of a data matrix; the results when using the dissimilarity matrix are very strange and not at all like those obtained when using the data matrix. For example, try this code: library(cluster) data(ruspini) #the clustering using a data matrix as the input: pam(ruspini,4) #the clustering using a dissimilarity matrix as input: pam(daisy(ruspini),4,diss=T) The clustering results should be the same but are wildly different. Again, this problem started happening with the upgrade to R 1.5.0. Thank you for...
2011 Aug 25
1
question on silhouette colours
I'm fairly new to the silhouette functionality in the cluster package, so apologize if I'm asking something naive. If I run the 'agnes(ruspini)' example from the silhouette section of the cluster package vignette, and assign colours to clusters, two clusters have what appear to be incorrect colours in the silhouette plot. library(cluster) data(ruspini) ar<- agnes(ruspini) si3<- silhouette(cutree(ar, k = 5), daisy(ruspini)) # 1...
2013 Mar 13
1
Empty cluster / segfault using vanilla kmeans with version 2.15.2
Hello, here is a working reproducible example which crashes R using kmeans or gives empty clusters using the nstart option with R 15.2. library(cluster) kmeans(ruspini,4) kmeans(ruspini,4,nstart=2) kmeans(ruspini,4,nstart=4) kmeans(ruspini,4,nstart=10) ?kmeans either we got empty always clusters and or, after some further commands an segfault. regards, Detlef Groth ------------ [R] Empty cluster / segfault using vanilla kmeans with version 2.15.2 Uwe Ligges...
2008 Jun 13
1
Output of silhouette (cluster package)
Dear R users, I am mailing you about the graphical output of silhouette (cluster package) From the example of silhouette in help(silhouette): > ar <- agnes(ruspini) > si3 <- silhouette(cutree(ar, k = 5), # k = 4 gave the same as pam() above + daisy(ruspini)) > plot(si3, nmax = 80, cex.names = 0.5) from which one may conclude that group 1 is composed by units from 1 to 20, group 2 by units from 21 to 43, group 3 by units from...
2009 Feb 28
1
Help on Making R Packages
...new arguments. 4- I create all the necessary subdirectories (man, data, src, R, etc) and files necessaries. I put on c:\Cluster2 5- I run on cmd: Rcmd build --force --binary c:/cluster2 And the package was created (file .zip) 6- I installed and load my package on R After this i tried to test with Ruspini dataset so I write something like: x <-ruspini dd <- pam(x,3) But an error happens, function pam not recognize my 2 new arguments. It's like function PAM on R is not linked to my pam code on C++. I really need if someone can help me and tell me what i´m doing wrong. Thank you Romina...
2005 Jun 27
1
A. Mani : colours in Silhouette
Hello, In cluster analysis with cluster, how does one colour the silhouette plots ? For example in using pam. There seems to be some problem there. Everything else can be coloured. Thanks, A. Mani Member, Cal. Math. Soc
2005 Jun 28
0
R-help Digest, Vol 28, Issue 28
...ax.strlen = 5, main = NULL, sub = NULL, > > xlab = expression("Silhouette width " * s[i]), col = "gray", > do.col.sort = length(col) > 1, border = 0, cex.names = par("cex.axis"), > do.n.k = TRUE, do.clus.stat = TRUE, ...) > > > data(ruspini) > pr4 <- pam(ruspini, 4) > si <- silhouette(pr4) > plot(si,col = "red") > I tried that before with many more options and got a blank image. It must have been due to the options. > The issue is that whenever code is written there is always a choice...
2017 Aug 17
0
PAM Clustering
Sorry, I never use pam. In the help, you can see that pam require a dataframe OR a dissimilarity matrix. If diss=FALSE then "euclidean" was use.So, I interpret that a matrix of dissimilarity is generated automatically. Problems may be in your data. Indeed pam(ruspini, 4)$diss write a dissimilaty matrix while pam(MYdata,10)$diss wite NULL 2017-08-17 16:03 GMT+02:00 Sema Atasever <s.atasever at gmail.com>: > Dear Germano, > > Thank you for your fast reply, > > In the above code, *MYData *is the actual data set. > > Do not we need...
2009 Jun 20
1
png() resolution problem {was "Silhouette ..."}
...in, SP> I plotting the silhouette of a clustering and storing it as png. When I SP> try to store the image as png the bars are missing. The bars are plotted SP> when I use x11 or postscript as device. In addition, it seems to work SP> when I use a smaller matrix (e.g. ruspini). SP> Would be great if you have look at this issue. Hmm, I've been at a conference in Italy... The silhouette plot only uses standard R plotting functions, so any problem with it exposes problems in standard R graphics. --> Such a message should really go to R-help. to which I CC...
2017 Aug 17
2
PAM Clustering
Dear Germano, Thank you for your fast reply, In the above code, *MYData *is the actual data set. Do not we need to convert *MYData to *the dissimilarity matrix using *pam(as.dist(**MYData**), k = 10, diss = TRUE*)* code line?* *Regards.* On Thu, Aug 17, 2017 at 2:58 PM, Germano Rossi <germano.rossi at gmail.com> wrote: > try this > > MYdata <-
2004 Sep 24
1
Cannot build cluster_1.9,6 under R 2.0.0 beta Sep 21
...print.diana text html latex print.dissimilarity text html latex example print.fanny text html latex print.mona text html latex print.pam text html latex ruspini text html latex example silhouette text html latex example sizeDiss text html latex example summary.agnes text html latex example summary.clara t...