kid.weights {UsingR} | R Documentation |
Weight and height measurement for a sample of U.S. children
Description
A sample from the data presented in the NHANES III survey (https://www.cdc.gov/nchs/nhanes.htm). This survey is used to form the CDC Growth Charts (https://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: https://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)
[Package UsingR version 2.0-7 Index]