Using the NFL data set, answer the following questions: a. Find the number of players per College. b. Convert the frequency table of colleges you just created to a data frame. Rename the first column of the data frame to Colleges - only rename the first column. You are to leave the name of the second column as is. Hint: You will need to save the frequency table as an object that has been coerced into a data frame (as.data.frame()) or use the data.frame() function with the table in order to change the name of the first column.
Using the NFL data set, answer the following questions: a. Find the number of players per College. b. Convert the frequency table of colleges you just created to a data frame. Rename the first column of the data frame to Colleges - only rename the first column. You are to leave the name of the second column as is. Hint: You will need to save the frequency table as an object that has been coerced into a data frame (as.data.frame()) or use the data.frame() function with the table in order to change the name of the first column.
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 3.9CP
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr