Learn R Programming

vcdExtra (version 0.8-5)

Mobility: Social Mobility data

Description

Data on social mobility, recording the occupational category of fathers and their sons.

Usage

data(Mobility)

Arguments

Format

A 2-dimensional array resulting from cross-tabulating 2 variables for 19912 observations. The variable names and their levels are:

NoNameLevels
1Son's_Occupation}\tab \code{"UpNonMan", "LoNonMan", "UpManual", "LoManual", "Farm"}\cr 2\tab \code{Father's_Occupation"UpNonMan", "LoNonMan", "UpManual", "LoManual", "Farm"

See Also

Glass, Hauser79, Yamaguchi87 for other examples of mobility data.

Examples

Run this code
data(Mobility)
Mobility

# independence model
MASS::loglm(~Father_Occupation + Son_Occupation, data = Mobility)

vcd::mosaic(Mobility, shade=TRUE, legend = FALSE)


Run the code above in your browser using DataLab