April 2018
Beginner
238 pages
7h 13m
English
We can use this script:
# we are using the haireyecolor data from the MASS librarylibrary(MASS)summary(HairEyeColor)

Excellent p-value, so we should have good data to work with!
# display the dataHairEyeColor

I hadn't thought about sex being a determinant. We will combine all of the data into one set:
# build a table of the informationcounts <- table(HairEyeColor)# produce the bar chartbarplot(counts)
That produces this result:
Interesting, that there are many cases with high coincidence (the 34s, 50s, and 64s) and there are ...