sweep: Sweep

Description Usage Arguments Value

Description

Sweep vector or ddmatrix from a distributed matrix.

Usage

1
2
3
4
5
6
7
sweep(x, MARGIN, STATS, FUN = "-", check.margin = TRUE, ...)

## S4 method for signature 'ddmatrix,ANY,vector'
sweep(x, MARGIN, STATS, FUN = "-")

## S4 method for signature 'ddmatrix,ANY,ddmatrix'
sweep(x, MARGIN, STATS, FUN = "-")

Arguments

x

numeric distributed matrix.

MARGIN

subscript over which the function will be applied

STATS

array to be swept out.

FUN

function used in the sweep. Only +, -, *, and / are accepted. For more general operations, use apply().

check.margin, ...

Ignored.

Value

Returns a distributed matrix.


pbdDMAT documentation built on May 29, 2017, 1:23 p.m.