search for: allmax

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

Did you mean: allman
2012 Jul 11
3
Subset based on multiple values
...# count for each value spp <- unique(test[,1]) Count1 <- as.data.frame(cbind(Count,spp)) Max <- max(Count) Count1$sppMax <- ifelse(Count1$Count >= Max, Count1$spp, 0) # only keep values that =Max Count2 <- subset(Count1, sppMax > 0) #get rid of values that are less than Max AllMax <- unique(Count2$sppMax) test2 <- subset(test, test[,1] == AllMax) this works where there is only one value for AllMax, how to make it work when there are multiple? Thank you! -- View this message in context: http://r.789695.n4.nabble.com/Subset-based-on-multiple-values-tp4636159.html Sen...
2001 Sep 12
2
glm + error
Can someone explain this error? I do not understand it and do not know what to do. > v.glm.allmax<-glm(ALL.MAX~.,data=v.q.allmax) Error in eval(expr, envir, enclos) : numeric envir arg not of length one Thank you for your help. Thomas platform i386-pc-mingw32 arch x86 os Win32 system x86, Win32 status major 1 minor...