This data set gives meristic, genetic and morphological data frame for 306 trouts.
data(lascaux)
lascaux
is a list of 9 components.
is a factor returning the river where 306 trouts are captured
vector of characters : code of the 306 trouts
factor sex of the 306 trouts
data frame 306 trouts - 5 meristic variables
data frame of the total number of red and black points
factor of the genetic code of the 306 trouts
data frame 306 trouts 37 morphological variables
data frame 306 trouts 15 variables of coloring
data frame 306 trouts 15 factors (ornementation)
See a data description at http://pbil.univ-lyon1.fr/R/pdf/pps022.pdf (in French).
# NOT RUN {
data(lascaux)
if(adegraphicsLoaded()) {
g1 <- s1d.barchart(dudi.pca(lascaux$meris, scan = FALSE)$eig, psub.text = "Meristic",
p1d.horizontal = FALSE, plot = FALSE)
g2 <- s1d.barchart(dudi.pca(lascaux$colo, scan = FALSE)$eig, psub.text = "Coloration",
p1d.horizontal = FALSE, plot = FALSE)
g3 <- s1d.barchart(dudi.pca(na.omit(lascaux$morpho), scan = FALSE)$eig,
psub.text = "Morphometric", p1d.horizontal = FALSE, plot = FALSE)
g4 <- s1d.barchart(dudi.acm(na.omit(lascaux$orne), scan = FALSE)$eig,
psub.text = "Ornemental", p1d.horizontal = FALSE, plot = FALSE)
G <- ADEgS(c(g1, g2, g3, g4), layout = c(2, 2))
} else {
par(mfrow = c(2,2))
barplot(dudi.pca(lascaux$meris, scan = FALSE)$eig)
title(main = "Meristic")
barplot(dudi.pca(lascaux$colo, scan = FALSE)$eig)
title(main = "Coloration")
barplot(dudi.pca(na.omit(lascaux$morpho), scan = FALSE)$eig)
title(main = "Morphometric")
barplot(dudi.acm(na.omit(lascaux$orne), scan = FALSE)$eig)
title(main = "Ornemental")
par(mfrow = c(1,1))
}
# }
Run the code above in your browser using DataLab