Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Provide the R solutions and the answers to the questions. ConsidertheHairEyeColordatasetfrom R. Provide following answers writing a code in R. a. How many different hair
Provide the R solutions and the answers to the questions.
ConsidertheHairEyeColordatasetfrom R.
Provide following answers writing a code in R.
a. How many different hair color in the data set? Also show the list of the hair colors.
b. How many people are there for each hair color?
c. How many males and females are there in each hair color?
> HairEyeColor
, , Sex = Male
Eye
HairBrown Blue Hazel Green
Black3211103
Brown53502515
Red101077
Blond33058
, , Sex = Female
Eye
HairBrown Blue Hazel Green
Black36952
Brown66342914
Red16777
Blond46458
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started