subject
Engineering, 19.08.2020 01:01 gabriieldelacruz16

Myplot <- function (data, rows) { matplot (t(data[rows, ]), type="b", pch=15:18, col=c(1:4, 6))
legend ("bottomleft", inset=0.01, legend=Players[rows], pch=15:18, col=c(1:4, 6))
}

#Call the myplot function you created above and plot the first 5
myplot (Salary, 1:10)

If you copy the code above (assuming the NBA data has already been loaded in R Studio) and run it, it'll create a graph of the Salaries of all 10 players in the NBA data set.

Use the same myplot function above with different matrices (in the next set of questions) and answer the following questions. Make sure to describe in detail your analysis.

Embed your graphs where asked !

1. Plot the Games matrix and explain what do you notice about players like DerrickRose and KobeBryant? Embed the graph in your answer.

2. Plot FieldGoals / Games and what do you notice for DerrickRose as compared to chart in last question? Embed the graph in your answer.

3. Who uses the time on the court most effectively? (HINT: FieldGoals / MinutesPlayed chart). Embed the graph in your answer.

4. Plot out Points / FieldGoals and explain what behavior you notice about certain players in the chart. Embed the graph in your answer.

5. What does the FieldGoals / FieldGoalAttempts chart show us? Which player surprises you in the chart? Embed the graph in your answer.

6. What is the correlation between FieldGoalAttempts / Games and Points / Games for Dwight Howard?

7. What is the overall trend of all the players for MinutesPlayed / Games chart? Embed the graph in your answer.

8. Plot Salary / Games what is something that stands out in the chart. How can we explain this unusual behavior?

9. Describe anything interesting about the Salary / FieldGoals results?

10. Describe anything interesting about the Points / MinutesPlayed results?

ansver
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, niicoleassssssf
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
image
Engineering, 04.07.2019 18:10, tobyhollingsworth178
Which from the following instrument is commonly used to detect the high pitch butzing sound in bearings? [clo4] a)-digital ultrasonic meter b)-infrared camera c)-spectroscopic d)-vibrometer
Answers: 2
image
Engineering, 04.07.2019 18:20, myahlit84
Inadequate stores control is not an obstacle to effective work order system. (clo4) a)-true b)-false
Answers: 3
image
Engineering, 04.07.2019 18:20, hayleymckee
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
You know the right answer?
Myplot <- function (data, rows) { matplot (t(data[rows, ]), type="b", pch=15:18, col=c(1:4, 6))...

Questions in other subjects:

Konu
Mathematics, 05.01.2021 04:40
Konu
Mathematics, 05.01.2021 04:40
Konu
Engineering, 05.01.2021 04:40
Konu
Chemistry, 05.01.2021 04:40
Konu
Computers and Technology, 05.01.2021 04:40