Re: [R] mice - undefined columns selected

2014-09-12 Thread David L Carlson
-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jeremy Miles Sent: Thursday, September 11, 2014 7:49 PM To: r-help Subject: [R] mice - undefined columns selected I've got a problem with the mice package that I don't understand. Here's the code: library(mice) d - read.csv(https

Re: [R] mice - undefined columns selected

2014-09-12 Thread Buuren, S. (Stef) van
-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jeremy Miles Sent: Thursday, September 11, 2014 7:49 PM To: r-help Subject: [R] mice - undefined columns selected I've got a problem with the mice package that I don't understand. Here's the code: library(mice) d

[R] mice - undefined columns selected

2014-09-11 Thread Jeremy Miles
I've got a problem with the mice package that I don't understand. Here's the code: library(mice) d - read.csv(https://dl.dropboxusercontent.com/u/24381951/employment.csv;, as.is=TRUE, row.names=1)d.imp - mice(data=d, m=1) Result is: Error in `[.data.frame`(data, , jj) : undefined columns