File: caith.Rd

package info (click to toggle)
r-cran-mass 7.3-51.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,148 kB
  • sloc: ansic: 664; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,119 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% file MASS/man/caith.Rd
% copyright (C) 1999 W. N. Venables and B. D. Ripley
%
\name{caith}
\alias{caith}
\title{
  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.
  \emph{Annals of Eugenics (London)} \bold{10}, 422--429.
}
\references{
  Venables, W. N. and Ripley, B. D. (2002)
  \emph{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))
}
\keyword{datasets}