Sweep vector or ddmatrix from a distributed matrix.
Usage
## S3 method for class 'ddmatrix,ANY,vector':
sweep(x, MARGIN, STATS, FUN = "-")
## S3 method for class '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().
Value
Returns a distributed matrix.
Details
Sweep vector or ddmatrix from a distributed matrix.