Question: Question 1: **Question 3**: In a new code chunk, examine how many observations are in sample_elections and how many variables are in sample_elections: **Question 4**:


Question 1: **Question 3**: In a new code chunk, examine how many observations are in sample_elections and how many variables are in sample_elections: **Question 4**: Create a new code chunk below, select the first and third values of variable trump.votes: **Question 5**: In a new code chunk, select the value in the first row and third column of the data frame sample_election: **Question 6: In a new code chunk, print the range of values in variable trump.votes: **Question 7**: In a new code chunk, subset sample_election to only include the states where Trump won more votes than Clinton: Question 1: **Question 3**: In a new code chunk, examine how many observations are in sample_elections and how many variables are in sample_elections: **Question 4**: Create a new code chunk below, select the first and third values of variable trump.votes: **Question 5**: In a new code chunk, select the value in the first row and third column of the data frame sample_election: **Question 6: In a new code chunk, print the range of values in variable trump.votes: **Question 7**: In a new code chunk, subset sample_election to only include the states where Trump won more votes than Clinton
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
