Name <- c("Jeb", "Donald", "Ted", "Marco", "Carly", "Hilary", "Bernie")
"ABCP" <- c(4, 62, 51, 21, 2, 14, 15)
"CBSP" <- c(12, 75, 43, 19, 1, 21, 19)
Following is what I was able to complete:
As you can see, I was able to create the data frame and display it. Looks nice! I started to have problems from this point down, where I am entering mean(results.df) and receiving the warning message mentioned in the tutorial. I am not sure how to avoid this, unfortunately.
From this part on, I am really sure sure where the data is coming from. Nothing had been created for C previously and so R Studio is not recognizing it as an object. Further, I am not sure how I would apply that to the polling data we were given for this assignment. I do certainly understand the concepts behind the work, both from the book and in the assignment itself, but I would love some input or insight from anyone who has a better idea.
No comments:
Post a Comment