| ddmatrix-summary {pbdDMAT} | R Documentation |
Summarize a distributed matrix. Gives min, max, mean, etc. by column.
summary(object, ...) ## S4 method for signature 'ddmatrix' summary(object)
object |
numeric distributed matrix |
... |
Additional arguments. |
The return is on process 0 only.
A table on processor 0, NULL on all other processors.
## Not run: # Save code in a file "demo.r" and run with 2 processors by # > mpiexec -np 2 Rscript demo.r library(pbdDMAT, quiet = TRUE) init.grid() # don't do this in production code x <- matrix(1:16, ncol=4) dx <- as.ddmatrix(x) summary(dx) finalize() ## End(Not run)