Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

kid.weights

Weight and height measurement for a sample of U.S. children


Description

A sample from the data presented in the NHANES III survey (http://www.cdc.gov/nchs/nhanes.htm). This survey is used to form the CDC Growth Charts (http://www.cdc.gov/growthcharts) for children.

Usage

data(kid.weights)

Format

A data frame with 250 observations on the following 4 variables.

age

Age in months

weight

weight in pounds

height

height in inches

gender

Male of Female

Source

This data is extracted from the NHANES III survey: http://www.cdc.gov/nchs/nhanes.htm.

Examples

data(kid.weights)
attach(kid.weights)
plot(weight,height,pch=as.character(gender))
## find the BMI -- body mass index
m.ht = height*2.54/100        # 2.54 cm per inch
m.wt = weight / 2.2046        # 2.2046 lbs. per kg
bmi = m.wt/m.ht^2
hist(bmi)

UsingR

Data Sets, Etc. for the Text "Using R for Introductory Statistics", Second Edition

v2.0-6
GPL (>= 2)
Authors
John Verzani <verzani@math.csi.cuny.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.