vsum {rmr2} | R Documentation |
Returns the sum of a list of numeric vectors
vsum(x)
x |
Equivalent to sapply(x, sum)
, it's about 30X faster in some use cases (many small sums). It's often useful in reducers in the vectorized form.
A numeric vector with the sum of each element of the list provided as argument
See collocations.R in the examples directory.