col_ops {kazaam} | R Documentation |
Column operations (currently sums/means) for shaq objects.
## S4 method for signature 'shaq' colSums(x, na.rm = FALSE, dims = 1L) ## S4 method for signature 'shaq' colMeans(x, na.rm = FALSE, dims = 1L)
x |
A shaq. |
na.rm |
Should |
dims |
Ignored. |
A regular vector.
The operation consists of a local column sum operation, followed by an
allreduce()
call, quadratic on the number of columns.
## Not run: library(kazaam) x = ranshaq(runif, 10, 3) cs = colSums(x) comm.print(cs) finalize() ## End(Not run)