Question: ### Q 4 : Create a dataframe showing the number and the proportion of individuals who said their health is excellent, very good or good

### Q4: Create a dataframe showing the number and the proportion of individuals who said their health is excellent, very good or good for each of the different lengths of times since last checkup. Store as a dataframe named `Q4`. Round to three decimal places.
The percentage is out of the total number of observations for the `brf_part1` dataset. If your proportion does not match below, double check your Q2 cleaning.
Hint: The 5x3 dataframe should look like this. The `[...]` is the name of the length of time variable. Be sure to match the column names.

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 Programming Questions!