.BG M
.VE $Header: /usr3/s/current/s/data/.help/RCS/rsweep,v 1.2 83/12/30 23:10:04 rab Exp $
.FN rsweep
.TL
?rsweep: Sweep Out Row Effects from Matrix
.CS
?rsweep(x, summary, fun)
.PP
.AG x
matrix.
Missing values (NAs) are allowed.
.AG summary
values to be swept out of the rows of `x'.  Generally
`summary' is the result of a `?row' macro or applying a
function to the rows of `x'.
Missing values (NAs) are allowed.
.AG fun
(unquoted) name of function to be used in sweeping out
`summary'.  Default is \- (minus).
.RT
matrix `x' with the summary values swept out.
.SH SEE ALSO
Function `sweep'.
.EX
?rsweep(x, ?row(x,median) )  # subtract off row medians
.KW apply*
.KW array*
.WR
