| feet {coneproj} | R Documentation |
Foot Measurements for Fourth Grade Children
Description
This data set was collected by the first author in a fourth grade classroom in Ann Arbor, MI, October 1997. We use the shapereg function to make a shape-restricted fit to this data set. "Width" is a continuous response variable, "length" is a continuous predictor variable, and "sex" is a categorical covariate. The constraint is that "width" is increasing with respect to "length".
Usage
data(feet)
Format
A data frame with 39 observations on the following 8 variables.
nameFirst name of child.
monthBirth month.
yearBirth year.
lengthLength of longer foot (cm).
widthWidth of longer foot (cm), measured at widest part of foot.
sexBoy or girl.
footFoot measured (right or left).
handRight- or left-handedness.
Source
Meyer, M. C. (2006) Wider Shoes for Wider Feet? Journal of Statistics Education Volume 14, Number 1.
Examples
data(feet)
l <- feet$length
w <- feet$width
s <- feet$sex
plot(l, w, type = "n", xlab = "Foot Length (cm)", ylab = "Foot Width (cm)")
points(l[s == "G"], w[s == "G"], pch = 24, col = 2)
points(l[s == "B"], w[s == "B"], pch = 21, col = 4)
legend("topleft", bty = "n", c("Girl", "Boy"), pch = c(24, 21), col = c(2, 4))
title("Kidsfeet Width vs Length Scatterplot")
[Package coneproj version 1.19 Index]