kid.weights | R Documentation |
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.
data(kid.weights)
A data frame with 250 observations on the following 4 variables.
Age in months
weight in pounds
height in inches
Male of Female
This data is extracted from the NHANES III survey: https://www.cdc.gov/nchs/nhanes.htm.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.