search for: cmean

Displaying 20 results from an estimated 27 matches for "cmean".

Did you mean: clean
2018 Jun 27
4
error en un cmeans
Tuve que dejar, de momento, lo del "loop con matriz que cambia de nombre" por algo más urgente, y me salió otro problema. Hago un cmeans con el paquete e1071; cl<-cmeans(Data,i,20,verbose=F,method="cmeans",m=2) y me da este error: Error in apply(u, 1, which.max) : dim(X) must have a positive length. Estoy harto de usar esa línea de código, con dfs iguales a la de ahora, por lo que no entiendo por qué falla....
2008 Aug 06
1
error in installing R packages
...g whether we are using the GNU C++ compiler... yes checking whether g++ -m64 accepts -g... yes ** libs gcc -m64 -std=gnu99 -I/usr/include/R -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c cmeans.c -o cmeans.o cmeans.c:5:15: error: R.h: No such file or directory cmeans.c: In function ?cmeans_setup?: cmeans.c:20: warning: implicit declaration of function ?R_alloc? cmeans.c:20: warning: cast to pointer from integer of different size cmeans.c:23: warning: cast to pointer from integer of...
2005 Sep 08
0
Effect of data set size on calculation
Dear listers, I have a piece of code which performs an ANOVA type of analysis on 2D GC data. The code is shown below: # ANOVA 2D GC analysis # maxc <- number of samples # nreps <- number of samples maxc <- 2 nreps <- 4 sscl <- NULL cmean <- NULL # # Initial stat. variable # dftot <- nrow(mat)-1 dfcl <- maxc - 1 dferr <- dftot - dfcl totmean <- mean(mat) sstot <- sd(mat)^2*dftot # # Calculate class-to-class variance # for (j in 1:maxc) { cmean <- rbind(cmean,mean(mat[((j-1)*nreps+1):((j-1)*...
2018 Jun 27
2
error en un cmeans
...i36> > > ________________________________ > From: R-help-es <r-help-es-bounces en r-project.org> on behalf of > Manuel Mendoza <mmendoza en mncn.csic.es> > Sent: Wednesday, June 27, 2018 12:25:10 PM > To: r-help-es en r-project.org > Subject: [R-es] error en un cmeans > > > Tuve que dejar, de momento, lo del "loop con matriz que cambia de > nombre" por algo más urgente, y me salió otro problema. > > Hago un cmeans con el paquete e1071; > > cl<-cmeans(Data,i,20,verbose=F,method="cmeans",m=2) > > y me da e...
2012 Sep 03
1
Scatter plot from tapply output, labels of data
...rs according to the Year and show the "Species" as data labels. My data looks like this: Species d13C d13N Year "Species1" 14,4 11.5 2009 "Species2" ... ... .... >Nmean<-tapply(d15N,list(Year,Species),mean) >Cmean<-tapply(d13C,list(Year,Species),mean) ##works fine, returns something like this Species1 Species2 Species3 2009 20.3 13.4 13,5 2011 NA 23.5 14.5 2012 11.3 NA 23....
2011 Oct 26
1
Where can I find cmeans {e1071} package?
Hello, I need a Fuzzy C Means algorithm. I found some documentation about cmeans {e1071} at http://rss.acs.unt.edu/Rdoc/library/e1071/html/cmeans.html Does someone knows where I can find it? Thank you Rui [[alternative HTML version deleted]]
2006 Mar 13
0
How to create a cmeans plot
Hi all R-helpers!!! I?m a Newbie to R and I have only one small question: Is there any possibility to plot a cmeans (package e1071) cluster result? Or any other possibility of visualisation like with the algorithm fanny? I couldn?t find any information how to create a plot with cmeans on the R help page. Thanks in advance! Christine
2003 Jun 26
1
Bagged clustering and fuzzy c-means
Dear All: I'm a newbie to R and chemometrics. Now I'm trying apply bclust on fuzzy c-means like this: >bc1 <- bclust(iris[,1:4], 3, base.centers=20,iter.base=100, base.method="cmeans") Committee Member: 1(1)(2)(3)(4)(5)(6)(7)(8)(9)(10)(11)(12)(13)(14)(15)(16)(17)(18)(19)(20)Erro r in bclust(iris[, 1:4], 3, base.centers = 20, iter.base = 100, base.method = "cmeans") : Could not find valid cluster solution in 20 replications I can't get any valid resul...
2003 Jan 03
0
cmeans visualisation
Hi all R-helpers!!! I have only one small question: Which visualisation method would you suggest for results of function cmeans {e1071}? Thanks! Branimir K. Hackenberger
2007 Oct 23
0
MPI implementations of fanny or cmeans
I've done a little digging, but I haven't been able to find an MPI or snow (or any other distributed processing) implementation of fanny (from cluster) or cmeans. Is anyone aware of some implementations or addons which I've missed? [I know of doi://10.1007/978-3-540-71351-7; but that's not for R] Don Armstrong [Currently not subscribed; M-F-T: set accordingly.] -- Certainly the game is rigged. Don't let that stop you. If you don't bet,...
2013 Mar 02
3
print method like print.anova()
...values should better be reported as something like '<0.0001' . > CMHtest(MSPatients[,,1]) Cochran-Mantel-Haenszel Statistics for New Orleans Neurologist by Winnipeg Neurologist AltHypothesis Chisq Df Prob cor Nonzero correlation 51.424 1 7.4426e-13 cmeans Col mean scores differ 55.393 3 5.6601e-12 rmeans Row mean scores differ 53.631 3 1.3450e-11 general General association 64.318 9 1.9580e-10 In the print.CMHtest() function below the lines before # # TODO give the output shown above. The lines below try to use print.anova(), but this giv...
2004 May 31
1
e1071 build issue
...GNU C++ compiler... yes checking whether g++ accepts -g... yes ** libs gcc -I/app/R-1.9.0-p/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c Rsvm.c -o Rsvm.o gcc -I/app/R-1.9.0-p/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c cmeans.c -o cmeans.o gcc -I/app/R-1.9.0-p/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c cshell.c -o cshell.o gcc -I/app/R-1.9.0-p/lib/R/include -I/usr/local/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2 -c floyd.c -o floyd.o g++ -I/app/R-1.9.0-p/lib/R/inclu...
2015 Apr 21
2
shlib problems with Intel compiler
..... yes ** libs icc -std=gnu99 -I/apps/R/3.1.3-intel/lib64/R/include -DNDEBUG -I/usr/local/include -fpic -g -O3 -wd188 -ip -fp-model precise -c Rsvm.c -o Rsvm.o icc -std=gnu99 -I/apps/R/3.1.3-intel/lib64/R/include -DNDEBUG -I/usr/local/include -fpic -g -O3 -wd188 -ip -fp-model precise -c cmeans.c -o cmeans.o icc -std=gnu99 -I/apps/R/3.1.3-intel/lib64/R/include -DNDEBUG -I/usr/local/include -fpic -g -O3 -wd188 -ip -fp-model precise -c cshell.c -o cshell.o icc -std=gnu99 -I/apps/R/3.1.3-intel/lib64/R/include -DNDEBUG -I/usr/local/include -fpic -g -O3 -wd188 -ip -fp-model precise...
2006 Apr 07
1
fuzzy classification and dissimilarity matrix
...ve the same problems than described in a previous message (http://tolstoy.newcastle.edu.au/R/help/05/05/4546.html) i.e. it always gives me two clusters in the results (even if k is different from 2) with the same memberships for all cluster. One solution suggested to the previous message was to use cmeans from package e1071. The problem is that it seems that cmeans doesn't work with dissimilarity matrix and I have to use daisy because I have mixed data. What can I do ? Jeanne Vallet [[alternative HTML version deleted]]
2009 Apr 25
1
fclustindex, e1071 package
Hi, I'm using e1071 package to do fuzzy cluster analysis. My dataset (ra) has 5237 observations and 2 variables - depth and velocity. I used fuzzy cmeans to create 6 fuzzy classes. >ra.flcust6<-cmeans(ra,6,iter.max=100,verbose=F,dist="euclidean",method="cmea ns",m=1.7,rate.par=NULL,weights=1) I would like to calculate the value of all the fuzzy validity measures using the flcustIndex function. However it returned th...
2015 Apr 22
1
shlib problems with Intel compiler
...er, and some diagnostic output showing the errors. >> >> Advice appreciated! >> >> Thanks, >> >> Andy > > There are two things missing when R tries to create the shared object > file on this line: > > icpc -L/usr/local/lib64 -o e1071.so Rsvm.o cmeans.o cshell.o floyd.o > svm.o > > Firstly, the compiler flag "-shared" is missing. It tells the compiler > to build a shared object instead of an executable. Secondly the linker > flag "-lR" is missing, along with the "-L" flag that tells the linker >...
2015 Apr 22
0
shlib problems with Intel compiler
...ere's information on my > platform, compiler, and some diagnostic output showing the errors. > > Advice appreciated! > > Thanks, > > Andy There are two things missing when R tries to create the shared object file on this line: icpc -L/usr/local/lib64 -o e1071.so Rsvm.o cmeans.o cshell.o floyd.o svm.o Firstly, the compiler flag "-shared" is missing. It tells the compiler to build a shared object instead of an executable. Secondly the linker flag "-lR" is missing, along with the "-L" flag that tells the linker where to find the shared R lib...
2001 Oct 04
0
new version of e1071 on CRAN
...- nu-regression - Formula Interface - k-fold cross-validation In addition, an introductory article is provided in directory `docs/' (svmdoc.pdf). o classAgreement now features an option to match factor levels o updated API design for the fuzzy clustering functions (cmeans, cshell, scaclust). Documentation updates and function name changes (cmeanscl -> cmeans, validity.measures -> fclustIndex) -- ------------------------------------------------------------------- Friedrich Leisch Institut f?r Statistik Tel:...
2004 May 24
0
AW: non-hierarchical non-exclusive clustering of large data sets
I think the "cmeans" method in library(e1071) works better for large data sets as "fanny". (note,not for this data: fanny has also problems with standardized large data sets - here produce fanny the same memberships for all observations; cmeans works "correctly") Matthias > -----Urspr?...
2006 Jun 14
0
fclustIndex(package e1071) error: LaPack Routine dgesv
...lows: library(e1071) Dataset <- read.dta("/Users/chris/Desktop/Fuzzy Cluster.dta", convert.dates=TRUE, convert.factors=TRUE, missing.type=TRUE, convert.underscore=TRUE, warn.missing.labels=TRUE) row.names(Dataset) <- as.character(Dataset$cntry) Dataset$cntry <- NULL cl <- cmeans(Dataset, 4, 20, verbose=TRUE, method="cmeans") resultindexes <- fclustIndex(cl, Dataset, index= "all") resultindexes I am receiving the following error message: ERROR: Lapack routine dgesv I have tried running the example for fclustIndex and it works fine. The code ab...