Re: [R] mice and Date-Time Classes

2009-07-20 Thread Uwe Ligges
Andreas Wittmann wrote: Dear R-Users, i want to use the function mice of the mice package with data, that contains dates, but this gives an error x <- Sys.time() dat <- data.frame(dates=(1:10)*60*60*24+x, size=rnorm(10)) dat$dates[c(3,7)]<-NA mice(dat) Fehler in check.imputationMethod(imp

[R] mice and Date-Time Classes

2009-07-16 Thread Andreas Wittmann
Dear R-Users, i want to use the function mice of the mice package with data, that contains dates, but this gives an error x <- Sys.time() dat <- data.frame(dates=(1:10)*60*60*24+x, size=rnorm(10)) dat$dates[c(3,7)]<-NA mice(dat) Fehler in check.imputationMethod(imputationMethod, defaultImpu