[R] handling NA by mean replacement

Sean Davis sdavis2 at mail.nih.gov
Mon Jan 30 18:56:44 CET 2006


You might also want to look at the "impute" package on CRAN.

Sean


On 1/30/06 11:50 AM, "Julie Bernauer" <julie.bernauer at ibbmc.u-psud.fr>
wrote:

> Hello
> 
> 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




More information about the R-help mailing list