ddmatrix-sumstats: Basic Summary Statistics

ddmatrix-sumstatsR Documentation

Basic Summary Statistics

Description

Get basic summary statistics.

Usage

## S4 method for signature 'ddmatrix'
sum(x, ..., na.rm = FALSE)

## S4 method for signature 'ddmatrix'
mean(x, na.rm = FALSE)

## S4 method for signature 'ddmatrix'
prod(x, na.rm = FALSE)

## S4 method for signature 'ddmatrix'
min(x, na.rm = FALSE)

## S4 method for signature 'ddmatrix'
max(x, na.rm = FALSE)

## S4 method for signature 'ddmatrix'
median(x, na.rm = FALSE)

Arguments

x

numeric distributed matrix

...

Additional arguments.

na.rm

Handling of NA's.

Details

The return is on process 0 only.

Value

A single value, owned by all ranks in the MPI communicator.


wrathematics/pbdDMAT documentation built on Oct. 2, 2024, 2:56 p.m.