R Dataset / Package MASS / caith
On this R-data statistics page, you will find information about the caith data set which pertains to Colours of Eyes and Hair of People in Caithness. The caith data set is found in the MASS R package. You can load the caith data set in R by issuing the following command at the console data("caith"). This will load the data into a variable called caith. If R says the caith data set is not found, you can try installing the package by issuing this command install.packages("MASS") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the caith R data set. The size of this file is about 130 bytes.
Colours of Eyes and Hair of People in Caithness
Description
Data on the cross-classification of people in Caithness, Scotland, by eye and hair colour. The region of the UK is particularly interesting as there is a mixture of people of Nordic, Celtic and Anglo-Saxon origin.
Usage
caith
Format
A 4 by 5 table with rows the eye colours (blue, light, medium, dark) and columns the hair colours (fair, red, medium, dark, black).
Source
Fisher, R.A. (1940) The precision of discriminant functions. Annals of Eugenics (London) 10, 422–429.
References
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.
Examples
corresp(caith) dimnames(caith)[[2]] <- c("F", "R", "M", "D", "B") par(mfcol=c(1,3)) plot(corresp(caith, nf=2)); title("symmetric") plot(corresp(caith, nf=2), type="rows"); title("rows") plot(corresp(caith, nf=2), type="col"); title("columns") par(mfrow=c(1,1))
Dataset imported from https://www.r-project.org.