[R] aregImpute in Hmisc

From: Young Cho <iidn01_at_yahoo.com>
Date: Thu 21 Jul 2005 - 06:58:21 EST


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.



R-help@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 Received on Thu Jul 21 07:01:37 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:53 EST