search for: orgmor

Displaying 2 results from an estimated 2 matches for "orgmor".

Did you mean: orgfor
1999 Sep 02
1
count of factors
Hello, I was used to count how many times every factor is found the following way : (assuming 'vect' is a vector of factors) tapply(vect,vect,length) but recently I experienced weird results with this In fact, my command line was tapply(ORGMORE[[1]][vect],ORGMORE[[1]][vect],length) where - 'vect' is a vector of indices - 'ORGMORE[[1]]' is a slightly long vector of factors In managed to get correct results using tapply(paste(ORGMORE[[1]][vect]),paste(ORGMORE[[1]][vect]),length) I am not sure the reason is the presence of...
1999 Sep 02
1
trouble with the 'exclude' parameter of factor() (PR#265)
Full_Name: Laurent Gautier Version: 0.65.0 OS: Irix 6.5 Submission from: (NULL) (195.110.4.98) the following doesn't give what I expect > test _ factor(ORGMORE[[1]],exclude=c(NA,"NOM")) Warning message: NAs introduced by coercion > levels(test) [1] "CYT" "EXC" "MEM" "NOM" "NUC" "SEC" while this works... > test _ factor(ORGMORE[[1]],levels=c("CYT","EXEC",&...