Learn R Programming

pblm (version 0.1-12)

bms: A British male sample on occupational status.

Description

These data were analyzed by Goodman (1979) and concern the cross-classification of a sample of fathers and their sons according to the occupational status.

Usage

data(bms)

Arguments

Format

A data frame with 49 observations and 3 variables.

fathers

fathers'occupational status. A factor with levels from 1 to 7.

sons

sons'occupational status. A factor with levels from 1 to 7.

freq

a vector of integers representing the number of people cross-classified according to the occupational status of fathers and sons

Examples

Run this code
data(bms)
xtabs(freq ~ fathers + sons, data=bms)

Run the code above in your browser using DataLab