[R] transcan() from Hmisc package for imputing data

Frank E Harrell Jr f.harrell at vanderbilt.edu
Wed Jan 12 14:20:51 CET 2005


avneet singh wrote:
> Hello:
> 
> I have been trying to impute missing values of a data
> frame which has both numerical and categorical values
> using the function transcan() with little luck.
> 
> Would you be able to give me a simple example where a
> data frame is fed to transcan and it spits out a new
> data frame with the NA values filled up?
> 
> Or is there any other function that i could use?
> 
> Thank you
> avneet

It's in the help file for transcan.  But multiple imputation is much 
better, and transcan does not do multiple imputation as well as the 
newer Hmisc function aregImpute.

-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University




More information about the R-help mailing list