Intro to data.frame
This week we will begin to familiarize ourselves with Data Frames. We are given mock data representing the polls for the 2016 U.S Presidential Election by ABC and CBS. Here are the information given to us exactly as it was presented: > Name <- c("Jeb", “Donald”, "Ted”, “Marco” “Carly”, “Hillary”, “Berine”) > ABC political poll results <- c(4, 62,51, 21, 2, 14, 15) > CBS political poll results <- c(12, 75, 43, 19, 1, 21, 19) Our goal here is to take what we have learned about Data Frames and try to organize our data in R with what we've learned so far. Github link: https://github.com/Ant-nguyen/Intro_r_2021/blob/main/Module%203.R Let's begin! First we assign the different candidates to vector named 'Name'.* >Name <-c("Jeb","Donald","Ted","Marco","Carly", "Hillary", "Bernie") *Note: That in order to do this we couldn't simply copy and paste the line that was p...