Question: How do you answer this in R-code Create a new column in your data frame, called turn_out, that takes the value 1 if the respondents
How do you answer this in R-code
Create a new column in your data frame, called turn_out, that takes the value 1 if the respondents vote_plan equals 1, 2, or 3; 0 if it equals 4, or 5; and importantly is NA if the value is missing, or equals 8 or 9..
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
