[R] aregImpute in Hmisc

Young Cho iidn01 at yahoo.com
Wed Jul 20 22:58:21 CEST 2005


Hi,

I have a dataframe ds1.2 - 503 categorial variables
and 1 continuous response variables.  I ran aregImpute
to deal with NA's and got the followig error:

> fmla = terms( Response ~ . ,data=ds1.2)
> ds.i = aregImpute(fmla,data=ds1.2)
Error in matrix(as.double(1), nrow = n, ncol = p,
dimnames = list(rnam,  : 
        length of dimnames [2] not equal to array
extent

Could you explain what I should do? Thanks a lot.

Young.




More information about the R-help mailing list