Displaying 20 results from an estimated 1100 matches similar to: "Help with CCLUS"
2006 Apr 07
2
cclust causes R to crash when using manhattan kmeans
Dear R users,
When I run the following code, R crashes:
require(cclust)
x <- matrix(c(0,0,0,1.5,1,-1), ncol=2, byrow=TRUE)
cclust(x, centers=x[2:3,], dist="manhattan", method="kmeans")
While this works:
cclust(x, centers=x[2:3,], dist="euclidean", method="kmeans")
I'm posting this here because I am not sure if it is a bug.
I've been searching
2003 Mar 05
2
problem with cclust[er] package
I have checked that section already.
Sorry, I should have mentioned that.
Memory limit increase does not work.
Installtion of msvcrt.dll does not work
either.
Thank you.
-----Original Message-----
From: ripley at stats.ox.ac.uk [mailto:ripley at stats.ox.ac.uk]
Sent: Wednesday, March 05, 2003 2:44 PM
To: Igor Oleinik
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] problem with cclust[er]
2004 Aug 06
1
imput data in cclust
I would like to see an example of a data matrix for cclust and how to
import it to cclust.
In fact, i don't know how to give my imput for cclust program!
i test this file
1 0.23 1.52
2 0.52 1.25
3 0.13 1.89
4 0.78 1.11
i do
>library(cclust)
>x<-scan("test.matrice.phyl")
>cclust(x,2,method="kmeans")
i have this error message:
Error in sample(length(x),
2003 Mar 05
1
problem with ccluster package
Hello,
I am calling cclust function in cclust package
repeatedly until some ceratain conditions
for a cluster are met. Unfortunately,
the system crashes on the second call (after debugging).
# kmeans res1 is a well defined matrix
cl <- cclust(res1, as.numeric(ncntrs), iter.max = 20, verbose = FALSE,
dist="manhattan", method="kmeans")
RGui has generated errors and will
2002 Oct 11
1
Problems with cclust
To Whom It May Concern,
I am currently trying to use R to perform a "kmeans" clustering of a
three dimensional data set. In the directory
R-1.5.1/library/cclust/data/ I have created a file that
has the following format (only the first few lines are shown for
brevity):
B X.Vtl X.Vtu
1 -0.529043 1.307031 1.625169
2 -0.752502 1.132813 1.480548
3
2004 Apr 27
1
beginners k means clustering question
Hi all,
I am wandering.. is it possible to cluster data which is in a single
column ?
for example.. I have some data as follows:
4013
7362
7585
9304
11879
14785
21795
30500
30669
30924
33988
36975
40422
42911
50501
51593
53729
54338
55497
57337
61993
62601
66229
69815
69933
70760
71340
75921
83972
90134
91061
.
.
.
is it possible to cluster this data since it is in a single column ?
I have
2004 Mar 09
1
Package cclust error
Hello, here is my problem,
After looking at the mail archives, I found a
description of the error I get when I use this
package.
At first I even tought that they were showing how to solve it.
But the thing is that by saying "the programmer
forgot drop=FALSE" doesn't show me how I should
get rid of the problem
I have looked inside the package very quickly and
I found three
2002 Feb 20
2
Clustering and Calinski's index
I have to solve a clustering problem.
My first step is to determinate the number of clusters, that's why I 'm using
the Calinski index ( [tr(b)/(k-1)]/[tr(w)/(k-1)] ) which i try to maximize
to have the best number of clusters.
A function is already implemented in R to calculate this index :
clustIndex(cl,x, index="calinski")
where cl is the result of a clustering method ,
2000 Apr 26
1
cluster indices
Hi-
I'd like to apply some of the cluter indices, using 'clustindex' in the
cclust package, but using output from hierarchical clustering using
'hclust' in the mva package.
The two packages use a different format for storing the results of
clustering; has anyone coerced one into the other?
Thanks!
-John Barnett
2003 Nov 27
1
cclust - cindex - binary data
Hi,
I'm trying to debug a function I wrote to calculate the cindex for a
hierarchical tree.
For this it is useful to compare my calculations with those in output from
the clustindex function, in the cclust library.
There's no way, however, to have the cindex value for a given output of the
cclust function, as a NA value is always returned.
This happens almost surely because the cindex in
2006 Apr 05
1
"partitioning cluster function"
Hi All,
For the function "bclust"(e1071), the argument "base.method" is
explained as "must be the name of a partitioning cluster function
returning a list with the same components as the return value of
'kmeans'.
In my understanding, there are three partitioning cluster functions in
R, which are "clara, pam, fanny". Then I check each of them to
2003 May 15
1
error-prone feature?
Hi All,
while looking why the cclust(cclust) doesn't work for 1-dimensional data,
I've found unpleasant behavior in semantics of R. Indeed:
is.matrix(matrix(cbind(c(1,2,3,4)),ncol=2)[1:2,]) == TRUE
but:
is.matrix(matrix(c(1,2))[1:2,]) == FALSE
kind regards,
Valery A.Khamenya
---------------------------------------------------------------------------
Bioinformatics
1998 Jun 22
0
R-beta: "cclust" Package
There is a new version of the 'CCLUST' package ,where i removed the extra
command for the kmeans algorithm in the .R programm and also the comments
about it in the .Rd help page. Now in the cclust library the kmeans
algorithm can be applied only by using the cclust function.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1998 Jun 22
0
R-beta: "cclust" Package
There is a new version of the 'CCLUST' package ,where i removed the extra
command for the kmeans algorithm in the .R programm and also the comments
about it in the .Rd help page. Now in the cclust library the kmeans
algorithm can be applied only by using the cclust function.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 Apr 24
1
estimating number of clusters ("Null or more")
Hi all,
once more about the old subj :-)
My data has too much various distribution families and for every
particular experiment
I need just to decide whether the data is "quite homogeneous" or it has
two or more
clusters. I've revisited the following libraries:
amap, clust, cclust, mclust, multiv, normix, survey.
And I didn't find any ready-to-use general
2009 Dec 16
2
Flexclust barchart issue when mcol=NULL (PR#14150)
Full_Name: Chris Hane
Version: 2.10.1
OS: Windows
Submission from: (NULL) (198.203.181.181)
When using barchart in the flexcust package, setting mcol=NULL to avoid the
lollipops causes an error. Each panel shows the text message "Error using
packet n replacement has length zero." where n is the panel number.
> data(iris)
> cl <- cclust(iris[,-5], k=3)
> barplot(cl,
1999 Feb 15
0
can't find functions?
Dear all,
I have recently installed R0.63.2. under Win95. and with it a number of
contributed packages. The instructions for adding packages was to unzip
the files into the "directory rw0632\library. They are then available
for use."
However, when I tried one of the function below, I got a Error: couldn't
find function "cclust".
2008 Oct 21
4
subscripting a one column matrix drops dimension
Hi all,
Why subscripting a one column matrix drops one dimension?
> x<- matrix(rnorm(100), ncol=1)
> str(x)
num [1:100, 1] -0.413 -0.845 -1.625 -1.393 0.507 ...
> str(x[20:30,])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
> str(x[20:30])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
This breaks:
> cov(x)
[,1]
[1,] 0.9600812
>
2001 Oct 29
3
cluster
Hi,
I have the graph below:
| 422
| 1 321
| 1
| 1
|32 1
|23
|_______________________
The numbers are points in coordinates (simplified graph).
I need make a cluster analysis of this for identify groups and make a graph
with this groups under circle.
In R exist several packages for cluster analysis, but, which the package for
this analysis and
2002 Jul 17
1
Importing Data.
hi,
I'm a bit new to R and need a hand importing data.
I have a text file of (x,y) pairs like:
x,y
x,y
x,y
I can read them in fine with read.table(), but I need to do some
cluster analysis on them, so I need it in a format cclust will
understand, namely a Matrix. Can anyone help with the code to
to convert the data type?
Thanks,
j.
--
......................
..... Jason C. Leach
..