Description Usage Format Source Examples
This data set gives the exam results of 104 students in the second year of a French University onto 9 subjects.
1 |
deug
is a list of three components.
is a data frame with 104 students and 9 subjects : Algebra, Analysis, Proba, Informatic, Economy, Option1, Option2, English, Sport.
is a factor of 104 components giving the final exam levels (A+, A, B, B-, C-, D).
is a vector of required marks by subject to get exactly 10/20 with a coefficient.
University of Lyon 1
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(deug)
# decentred PCA
pca1 <- dudi.pca(deug$tab, scal = FALSE, center = deug$cent, scan = FALSE)
if(adegraphicsLoaded()) {
g1 <- s.class(pca1$li, deug$result, plot = FALSE)
g2 <- s.arrow(40 * pca1$c1, plot = FALSE)
G <- superpose(g1, g2, plot = TRUE)
} else {
s.class(pca1$li, deug$result)
s.arrow(40 * pca1$c1, add.plot = TRUE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.