Learn R Programming

ade4 (version 1.01)

deug: Exam marks for some students

Description

This data set gives the exam results of 118 students in the second year of a French University onto 8 subjects.

Usage

data(deug)

Arguments

format

deug is a list of three components.
  1. tab
{is a data.frame with 118 students and 8 subjects.} result{is a factor of 118 components giving the final exam levels (A+, A, B, B-, C-, D).} cent{is a vector of required marks by subject to get exactly 10/20 with a coefficient.}

source

University of Lyon 1

Examples

Run this code
data(deug)
# decentred PCA
pca1 <- dudi.pca(deug$tab, scal = FALSE, center = deug$cent, 
    scan = FALSE)
s.class(pca1$li, deug$result)
s.arrow(40 * pca1$c1, add.plot = TRUE)

Run the code above in your browser using DataLab