.BG M
.VE $Header: /usr3/s/current/s/data/.help/RCS/csweep,v 1.2 83/12/30 23:08:29 rab Exp $
.FN csweep
.TL
?csweep: Sweep Out Column Effects from Matrix
.CS
?csweep(x, summary, fun)
.PP
.AG x
matrix.
Missing values (NAs) are allowed.
.AG summary
values to be swept out of the columns of `x'.  Generally
`summary' is the result of a `?col' macro or applying a
function to the columns 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
?csweep(x, ?col(x,median) )  # subtract off column medians
.KW apply*
.KW array*
.WR
