Learn R Programming

Rearrangement (version 2.1)

GrowthChart: Age and Height of White Males

Description

This data set contains age and height of US-born white males age two through twenty. Note that age is measured in months and expressed in years, and height is measured in centimeters.

Usage

data(GrowthChart)

Arguments

Format

A data frame with 533 observations on the following 3 variables.
sex
a numeric vector. Male = 1
height
a numeric vector. Height in cm
age
a numeric vector. Age in years

Source

The data consist of repeated cross sectional measurements of height and age from the 2003-2004 National Health and Nutrition Survey collected by the US National Center for Health Statistics.

Examples

Run this code
data(GrowthChart)
attach(GrowthChart)
plot(age,height,pch=21,bg='gray',cex=.5,
xlab="Age (years)",ylab="Height (cms)",col='gray')
detach(GrowthChart)

Run the code above in your browser using DataLab