Displaying 1 result from an estimated 1 matches for "simarray".
Did you mean:
diarray
2009 Jun 22
2
question about using _apply and/or aggregate functions
...read the help files for _apply, aggregate, arrays and data types,
and have also consulted with several texts (Maindonald and Braun;
Spector; Venebles and Ripley for S-plus). Somehow I still don't get
it. My attempts usually result in a message like the following:
> agg.result = aggregate(simarray.part[,3], by=list4, FUN = mean)
Error in FUN(X[[1L]], ...) : arguments must have same length
But when I check the length of the arguments, they appear to match. (??)
> length(simarray.part[,3])
[1] 5000
> length(simarray.part[,4])
[1] 5000
> length(list4)
[1] 5000
I would have rather p...