A Fast Simplified Version of tapply
a fast simplified version of tapply
capply(x, index, fcn=sum)
x |
x |
index |
index |
fcn |
default sum |
a fast simplified version of tapply
Returns ans where for(i in split(x,index))ans <- c(ans,fcn(i)).
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.