Re: [R] Error in mice package when trying to use subset of variables for imputation model

2020-07-21 Thread John Kane
I wonder if you have a non-ascii symbol in there somewhere? That may be what this is trying to tell you. Error in parse(text = x, keep.source = FALSE) : :1:1: unexpected '<' I have no dea what "mice" is supposed to output but using your data, renamed dat1, I did library(mice) pred <- quickpr

[R] Error in mice package when trying to use subset of variables for imputation model

2020-07-21 Thread Ian McPhail
Hello, I am attempting to create a multiple imputation model using the mice package in R. Here are some details about what I am specifically trying to do, and below is a subset of the data I am working with, the code I have tried, and the error that I am getting. In the dataset, labelled 'mtu