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

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
question
Engineering, 04.07.2019 18:20
Athin walled concentric tube exchanger is used to cool engine oil from 160°c to 60°c with water that is available at 25°c acting as a coolant. the oil and water flow rates are each at 2 kg/s, and the diameter of the inner tube is 0.5 m and the corresponding value of the overall heat transfer coefficient is 250 w/m2. oc. how long must the heat exchanger be to accomplish the desired cooling? cpwater=4.187 kj/kg-candcpengine el=2.035 kj/kg·°c, oil . 120]
Answers: 1
question
Engineering, 04.07.2019 19:10
Starting wih an energy balance on a rectangular volume element, derive the one- dimensional transient heat conduction equation for a plane wall with constant thermal conductivity and no heat generation.
Answers: 1
question
Engineering, 04.07.2019 19:10
Agas contained within a piston-cylinder assembly e end nation about same energy states, 1 and 2, where pi 10 bar, v undergoes two processes, a and b, between the sam 0.1 m3, ui-400 kj and p2 1 bar, v2 1.0 m2, u2 200 kj: process a: process from 1 to 2 during which the pressure- volume relation is pv constant process b: constant-volume process from state 1 to a pressure of 2 bar, followed by a linear pressure-volume process to +20 0 state 2 kinetic and potential energy effects can be ignored. for each of the processes a and b, (a) sketch the process on p-v coordinates, (b) evaluate the work, in kj, and (c) evaluate process the heat transfer, in kj
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
question
Law, 22.10.2021 21:30
question
Mathematics, 22.10.2021 21:30
question
History, 22.10.2021 21:30
question
Mathematics, 22.10.2021 21:30
question
Mathematics, 22.10.2021 21:30
question
Mathematics, 22.10.2021 21:30
question
Mathematics, 22.10.2021 21:30
Questions on the website: 13722361