Question

Enter the following table into R. The table gives the number of majors for each of...

Enter the following table into R. The table gives the number of majors for each of the five departments in college.

            size (291, 55, 34, 41, 124)

departments ("Math", "Biology", "Geology", "Physics", "Computer     Science")

i. Make a pie chart of the 5 majors.

ii. Make a bar chart showing the percentage of majors in each department.

Homework Answers

Answer #1

And here is the R code for the above,

Please let me know if there is any difficulty in understanding the code or there is any error.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Identify the best graphics forms to illustrate the following data out of these choices: (Table, Bar...
Identify the best graphics forms to illustrate the following data out of these choices: (Table, Bar chart, Line chart, Pie Chart, Flowchart, Organization Chart, Photograph Illustrations) a. Potential new residential development project b. Annual restaurant industry sales figures c. Government unemployment data by industry and sector, in percentages d. Figures showing the distribution of the H3N2 strain of type A flu virus in humans by state e. Figures showing the process of delivering water to a metropolitan area f. LTE...
The table below gives the list price and the number of bids received for five randomly...
The table below gives the list price and the number of bids received for five randomly selected items sold through online auctions. Using this data, consider the equation of the regression line, yˆ=b0+b1xy^=b0+b1x, for predicting the number of bids an item will receive based on the list price. Keep in mind, the correlation coefficient may or may not be statistically significant for the data given. Remember, in practice, it would not be appropriate to use the regression line to make...
The following table gives the number of students (in thousands) graduating from college with degrees in...
The following table gives the number of students (in thousands) graduating from college with degrees in several fields of study for seven countries: Field of study Canada France Germany Italy Japan U.K. U.S. Social sciences, business, law 68 156 61 127 260 151 874 Science, mathematics, engineering 30 112 63 85 139 128 356 Arts and humanities 25 76 33 38 127 102 402 Education 17 45 19 17 41 14 167 Other 32 292 36 58 94 74 269...
The following table gives the total 2004 payroll (on the opening day of the season, rounded...
The following table gives the total 2004 payroll (on the opening day of the season, rounded to the nearest million dollars) and the percentage of games won in 2004 by each National League team. D’backs Braves Cubs Reds Rockies Marlins Astros Dodgers Payroll (in millions) 70 90 91 47 65 42 75 93 Percentage of Wins 31.5 59.3 54.9 46.9 42.0 51.2 56.8 57.4 Brewers Expos Mets Phillies Pirates Cards Padres Giants Payroll (in millions) 28 41 97 93 32...
As part of its freshman orientation process, a college gives a math placement exam to incoming...
As part of its freshman orientation process, a college gives a math placement exam to incoming freshmen. The math department is interested in whether there is a statistically significant difference in the average exam score for students in different programs, at a level of α=0.01. The exam scores for random samples of science, engineering, humanities, and business majors are shown in the following table. The math department has confirmed that the samples were randomly selected and independent, that the populations...
The table below gives the number of hours spent unsupervised each day as well as the...
The table below gives the number of hours spent unsupervised each day as well as the overall grade averages for seven randomly selected middle school students. Using this data, consider the equation of the regression line, yˆ=b0+b1xy^=b0+b1x, for predicting the overall grade average for a middle school student based on the number of hours spent unsupervised each day. Keep in mind, the correlation coefficient may or may not be statistically significant for the data given. Remember, in practice, it would...
The table below gives the number of hours spent unsupervised each day as well as the...
The table below gives the number of hours spent unsupervised each day as well as the overall grade averages for seven randomly selected middle school students. Using this data, consider the equation of the regression line, yˆ=b0+b1x, for predicting the overall grade average for a middle school student based on the number of hours spent unsupervised each day. Keep in mind, the correlation coefficient may or may not be statistically significant for the data given. Remember, in practice, it would...
1. A random number generator is used to select a number from 1 to 500 ?(inclusively)....
1. A random number generator is used to select a number from 1 to 500 ?(inclusively). What is the probability of selecting the number 595 ? What is the probability? 2.Identify the sample space of the probability experiment and determine the number of outcomes in the sample space. -Randomly choosing an even number between 10 and 20, inclusive The sample space is? (Use a comma to separate answers) There are _____ outcomes in the sample space 3. Determine the number...
Bivariate Data & Probability After completing the calculation by hand in Q1 you can use Excel...
Bivariate Data & Probability After completing the calculation by hand in Q1 you can use Excel to check your answers before submitting. Q2 assesses your general understanding of probability and linear associations using Excel to analyse a large dataset. Question 1       Covariance and Correlation The table below shows a set of sample bivariate data. Calculate the covariance and correlation coefficient by completing the below table. Show all working. X Y (X - ) (Y - ) (X - )(Y -...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...