Introduction to Logistic Regression

Using the 2016 ANES, build a model to predict political identity (to make it comparable to the model shown in class, recode political identity to Republican/Not Republican). Post your code below your interpretation so that we can see your recoding.