jwb133 / smcfcs

R package implementing Substantive Model Compatible Fully Conditional Specification Multiple Imputation
11 stars 7 forks source link

Add check that binary outcomes are coded as 0/1 numerics #7

Closed jwb133 closed 6 years ago

jwb133 commented 6 years ago

smcfcs breaks if the binary outcome in a logistic substantive model is not coded as a 0/1 numeric. Add a check to catch this and stop.

jwb133 commented 6 years ago

Checks added to ensure that the outcome model is a numeric 0/1.