Learn R Programming

ade4 (version 1.7-22)

veuvage: Example for Centring in PCA

Description

The data come from the INSEE (National Institute of Statistics and Economical Studies). It is an array of widower percentages in relation with the age and the socioprofessional category.

Usage

data(veuvage)

Arguments

Format

veuvage is a list of 2 components.

tab

is a data frame with 37 rows (widowers) 6 columns (socio-professional categories)

age

is a vector of the ages of the 37 widowers.

Details

The columns contain the socioprofessional categories:
1- Farmers, 2- Craftsmen, 3- Executives and higher intellectual professions,
4- Intermediate Professions, 5- Others white-collar workers and 6- Manual workers.

Examples

Run this code
data(veuvage)
par(mfrow = c(3,2))
for (j in 1:6) plot(veuvage$age, veuvage$tab[,j],
    xlab = "age", ylab = "pourcentage de veufs",
    type = "b", main = names(veuvage$tab)[j])

Run the code above in your browser using DataLab