 

Hello

 

I would like to use the transcan and impute functions from Hmisc library for
single impution.

 

library(Hmisc)

m1<-data.frame(x1=rnorm(20),x2=rnorm(20),x3=rnorm(20))

m1[c(2,4),1]<-NA

t1<-transcan(~x1+x2+x3,data=m1,imputed=T)

impute(t1)

 

Fehler in as.environment(pos) : kein Eintrag names "NA" im Suchpfad

 

Which means: Error in as.environment(pos): no entry called 'NA' in search
path.

 

What am I doing wrong?

 

Regards,

 

Erich


	[[alternative HTML version deleted]]


