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.


RBigData/pbdDMAT documentation built on Oct. 29, 2021, 6:20 p.m.