[R] aregImpute in Hmisc
Frank E Harrell Jr
f.harrell at vanderbilt.edu
Thu Jul 21 03:09:29 CEST 2005
Young Cho wrote:
> 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.
Without a small reproducible example (using for example simulated data)
I can't solve it. You may have trouble using aregImpute with that many
variables. -Frank Harrell
>
> ______________________________________________
> 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
>
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University
More information about the R-help
mailing list