ddmatrix-summary {pbdDMAT}R Documentation

Distributed Matrix Summary

Description

Summarize a distributed matrix. Gives min, max, mean, etc. by column.

Usage

summary(object, ...)

## S4 method for signature 'ddmatrix'
summary(object)

Arguments

object

numeric distributed matrix

...

Additional arguments.

Details

The return is on process 0 only.

Value

A table on processor 0, NULL on all other processors.

Examples

## 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)


[Package pbdDMAT version 0.4-0 Index]