search for: turbot

Displaying 1 result from an estimated 1 matches for "turbot".

Did you mean: turbo
2007 Sep 13
1
Collapsing data frame; aggregate() or better function?
...) works fine here, > test <- aggregate(tester[,c(3,5:6)], tester[,1:2], sum) > test trip set num lfs1 lfs2 1 313 15 8 3 5 2 313 17 4 2 2 But I'm having trouble getting the same function to work on my actual data frame which is considerably larger. > dim(lf1.turbot) [1] 16468 217 > test <- aggregate(lf1.turbot[,c(11, 12, 17:217)], lf1.turbot[,1:8], sum) Error in vector("list", prod(extent)) : vector size specified is too large In addition: Warning messages: 1: NAs produced by integer overflow in: ngroup * (as.integer(index) - one) 2: NAs pr...