Examples for 'MASS::caith'


Colours of Eyes and Hair of People in Caithness

Aliases: caith

Keywords: datasets

### ** Examples

## IGNORE_RDIFF_BEGIN
## The signs can vary by platform
corresp(caith)
First canonical correlation(s): 0.4463684 

 Row scores:
       blue       light      medium        dark 
-0.89679252 -0.98731818  0.07530627  1.57434710 

 Column scores:
       fair         red      medium        dark       black 
-1.21871379 -0.52257500 -0.09414671  1.31888486  2.45176017 
## IGNORE_RDIFF_END
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")
plot of chunk example-MASS-caith-1
par(mfrow=c(1,1))

[Package MASS version 7.3-58.2 Index]