search for: aggegate

Displaying 4 results from an estimated 4 matches for "aggegate".

Did you mean: aggregate
2006 Nov 16
1
How Aggegate Data in R
Hello: When I use SPSS I execute the AGGREGATE DATA comand for the next data: 2112141123212213212213334 3143244113442312121213344 2114141123112214212113344 2112211122212413421213221 3114444123442414343413344 2312231223212222323223322 2143241123212313131213234 2113241113212313222213333 2113141123112214212113344 2114141123412111114413344 2113211122342314222313234 2114141123112414212113344
2006 Oct 01
3
aggregate function with 'NA'
Dear r-help reader, I have some problems with the aggregate function. My datframe looks like >frame Day Time V1 V2 1 M 0 3 NA 2 M 0 4 NA 3 M 0 5 2 4 M 1 NA 4 5 M 1 10 6 6 T 0 4 45 7 T 1 4 3 8 T 1 3 2 9 T 1 6 1 I used the aggegate function to obtain the mean in V1 and V2 over the grouping variable Time and Day aggregate(frame[,c(-1)],list(frame$Day,frame$Time),mean) Group.1 Group.2 Time V1 V2 1 M 0 0 4.000000 NA 2 T 0 0 4.000000 45 3 M 1 1 NA 5 4 T...
2008 Oct 09
1
Basic aggregate help
...uantity=c(1,2,3)) > x Name Category Quantity 1 A a 1 2 A a 2 3 C b 3 > aggregate(x, by=as.list(setdiff(names(x),"Quantity")), sum) Error in FUN(X[[1L]], ...) : arguments must have same length The way I understand it is that 'aggegate' should group the rows that are the same (in the above 1,2 are the same and 3 stands alone) and the FUN should be applied to the ramaining column. I was expecting a data.frame like: Name Category Quantity 1 A a 3 2 C b 3 But that is not what I got. Would...
2005 Sep 01
1
Strange build message: request help w/resolving
Greetings, I am attempting to build a R package, however the build fails and the following message is ouput: C:\ConstellaGroup\EPA\RAGG\package>R CMD BUILD --binary --force RAGG * checking for file 'RAGG/DESCRIPTION' ... OK * preparing 'RAGG': * checking DESCRIPTION meta-information ... ERROR Error in if (regexpr(dep_regexp, dep) == -1) { : missing value where