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

Description Usage Format Source Examples

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

1

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

1
2
3
4
5
6
7
8
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)

jverzani/UsingR documentation built on Aug. 3, 2020, 11:57 a.m.