Learn R Programming

PBImisc (version 1.0)

heights: Husband and Wife heights

Description

A dataset from ,,A modern approach to regression with R''. Simon J. Sheather 2009 . Paired heights for husbands and wifes.

Usage

data(heights)

Arguments

Format

data.frame with 96 obs. and 2 variables
Husband, Wife
Height of husband and wife.

Source

A modern approach to regression with R. Simon J. Sheather 2009

Details

The dataset from ,,A modern approach to regression with R''. Simon J. Sheather 2009

Examples

Run this code
data(heights)
plot(Husband~Wife, data=heights, pch=19)
abline(lm(Husband~Wife, data=heights), col="red")
abline(lm(Husband~Wife-1, data=heights), col="blue")

Run the code above in your browser using DataLab