[R] Imputation missing observations

Dimitris Rizopoulos dimitris.rizopoulos at med.kuleuven.ac.be
Wed Jan 19 11:22:58 CET 2005


from your mail is not clear if you have loaded the Hmisc package, try

library(Hmisc)
?aregImpute
f <- aregImpute(~y + x1 + x2 + x3, n.impute=100, data=d)

If this doesn't work, try to download a fresh copy of the package from 
CRAN.

I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat
     http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "kolluru ramesh" <ramesh_k77 at yahoo.com>
To: <r-help at stat.math.ethz.ch>
Sent: Wednesday, January 19, 2005 11:06 AM
Subject: [R] Imputation missing observations


>
>>From Internet I downloaded the file Hmisc.zip and used it for R 
>>package updation. and R gave the message 'Hmisc' successfull 
>>unpacked.
>
> But when I use the functions like aregImpute the package is 
> displaying coundn't find the function
>
> Where as in help.search it is giving that use of the function
>
>> install.packages(choose.files('',filters=Filters[c('zip','All'),]), 
>> .libPaths()[1], CRAN = NULL)
>
> package 'Hmisc' successfully unpacked and MD5 sums checked
>
> updating HTML package descriptions
>
>> ?aregImpute
>
> Error in help("aregImpute") : No documentation for `aregImpute' in 
> specified packages and libraries:
>
>  you could try `help.search("aregImpute")'
>
>> f <- aregImpute(~y + x1 + x2 + x3, n.impute=100, data=d)
>
> Error: couldn't find function "aregImpute"
>
>
>
>
> ---------------------------------
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list