Sweep vector or ddmatrix from a distributed matrix.
sweep(x, MARGIN, STATS, FUN = "-", check.margin = TRUE, ...)# S4 method for ddmatrix,ANY,vector
sweep(x, MARGIN, STATS, FUN = "-")
# S4 method for ddmatrix,ANY,ddmatrix
sweep(x, MARGIN, STATS, FUN = "-")
numeric distributed matrix.
subscript over which the function will be applied
array to be swept out.
function used in the sweep. Only +
, -
, *
,
and /
are accepted. For more general operations, use apply()
.
Ignored.
Returns a distributed matrix.