[R] pb with package mix
Stephanie.Tomczak@eleves.polytech-lille.fr
Stephanie.Tomczak at eleves.polytech-lille.fr
Fri Feb 11 14:40:20 CET 2005
hello,
We've got a problem with the mix package in order to impute the missing data.
After importing the data, the prelim function does not work (only the stlouis
data works).
We have done :
>library(mix)
>Manq <- read.table("C:/.../file.txt")
>attach(Manq)
>save(Manq,file="C:/../R/rw2001/library/mix/data/Manq.rda")
>data(Manq)
>Manq
V1 V2 V3 V4
1 1 1 1 1
2 1 1 3 6
3 1 2 6 2
...
...
52 2 7 6 2
>Essaimanq <-prelim.mix(Manq,4)
Error in as.integer.default(list(V1 = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1,:
(list) object cannot be coerced to integer
thank you
More information about the R-help
mailing list