Question: Question 2: We would like to plot the death rate for each disease over time. To do so, we must create a table with one

 Question 2: We would like to plot the death rate for

Question 2: We would like to plot the death rate for each disease over time. To do so, we must create a table with one column for each cause and one row for each year. Create a table called causes_for_plotting. It should have one column called Year, and then a column with age-adjusted death rates for each of the causes you found in Question 1. There should be as many of these columns in causes_for_plotting as there are causes in Question 1. Hint: Use pivot, and think about how the elem function might be useful in getting the Age Adjusted Death Rate for each cause and year combination

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!