[R] handling NA by mean replacement

From: Julie Bernauer <julie.bernauer_at_ibbmc.u-psud.fr>
Date: Tue 31 Jan 2006 - 03:50:14 EST


I am sorry fuch such a stupid question. Suppose I have a table of data having a lot of NAs and I want to replace those NAs by the mean of the column before NA replacement. How is it possible to do that efficiently ?

Thanks in advance,


Julie Bernauer
Yeast Structural Genomics

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jan 31 04:10:46 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:15 EST