veuvage {ade4}R Documentation

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)

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.

Source

unknown

Examples

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])

Worked out examples


> library(ade4)
> ### Name: veuvage
> ### Title: Example for Centring in PCA
> ### Aliases: veuvage
> ### Keywords: datasets
> 
> ### ** Examples
> 
> 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])
> 
> 
> 
> 

[Package ade4 Index]