Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create a pie chart using R (code would be enough), where it just shows the percentage of each Race based on the total count of

create a pie chart using R (code would be enough), where it just shows the percentage of each Race based on the total count of how many people were asked the question (total number of rows in your dataset). You can then try to repeat the process with the Age variable. below is the data set(1st table for reference there are 156 rows in the table but couldnt attach full). Race variable in your datasets is the code of the race category, and it has a corresponding text label (e.g., 1 = American Indian) please refer the below table for this(2nd table)

Age Race
17 3
18 6
18 10
18 5
18 5
18 3
18 3
18 10
18 8
19 10
19 5
19 8
19 3
19 8
19 2
19 10
19 10
19 3
19 4
Race Code
American Indian 1
African American 2
Mexican American 3
Other Hispanic 4
Asian 5
SE Asian 6
Pacific Islander 7
Filipino 8
Multiple Ethnicities 9
White 10
Other/Not Stated 11
International 12

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

1. Who will you assemble on the team?

Answered: 1 week ago

Question

4. Who would lead the group?

Answered: 1 week ago