search for: catcounts

Displaying 3 results from an estimated 3 matches for "catcounts".

Did you mean: catcount
2010 Oct 23
1
Summarizing For Values with Multiple categories
...> df<- data.frame(COGs=c("COG1","COG2","COG3","COG4"),counts=c(10,20,30,40)) I've been trying various version of apply and well as some crazy loops (Eg. below). Any help would be appreciated Thanks, Alison > CATS<-names(CAT2COG) > Catcounts<-rep(0,length(CATS)) > counter<-1 > for (i in CATS){ + Catcounts[counter]<-CatCounts+df$counts[df[1,]=CAT2COG[i],] Error: syntax error > counter<-counter+1 > }
2002 Apr 25
1
understanding and resolving seg faults
Dear r-devel, I am mutating rpart to do calculations on trees. I am trying to extract information from the tree. However, I got a seg. fault. This is the offending line in "rpmatrix.c": deltaI[0][0] = spl->improve; (Commenting it out cures the seg fault) I would like some advice on how to debug this. I have allocated memory with calloc and deltaI[0][0] should be
2008 Aug 06
1
error in installing R packages
Hello, I am trying to install R packages under linux, some of the packages can not be installed and I got the following error, could anybody give me suggestion on where the problem is and how to fix it? Thanks-e > .libPaths() [1] "/usr/lib64/R/library" [2] "/usr/share/R/library" [3]