[R] aregImpute in Hmisc

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


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

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


More information about the R-help mailing list