Question: How does this code from the Polling analysis determine if a state is a swing state? polls % mutate( Swing = ifelse(State != U.S. &
How does this code from the Polling analysis determine if a state is a swing state? polls <- polls %>% mutate( Swing = ifelse(State != "U.S." & (abs(StateGap) < 7), TRUE, FALSE)) Group of answer choices it is not a national poll and the absolute value of the StateGap column is less than 7 it is not a national poll the value of the StateGap column is less than 7 it is not a national poll and the value of the StateGap column greater than or equal to 7 it is a national poll and the value of the StateGap column is less than 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
