Dear All do you know how to transform a matrix to a so-called double centering matrix such that sum(col) and sum(row) of the transformed matrix are all 0 vector. thanks regards yong wang
?sweep Date: Fri, 18 Jun 2004 16:32:58 -0500 (CDT) From: Yong Wang <wang at galton.uchicago.edu> To: <r-help at stat.math.ethz.ch> Subject: [R] Double centering matrix construction Dear All do you know how to transform a matrix to a so-called double centering matrix such that sum(col) and sum(row) of the transformed matrix are all 0 vector. thanks regards yong wang