bodydata | R Documentation |
This data set contains measurements of weight, height, and circumference for people between 18 and 67 years old.
bodydata
A data frame with 407 observations (rows) and 4 variables (columns).
Column name | Data type | Description | Values | |
[,1] | Weight | numeric | The weight in kg | (42.0 - 108.6) |
[,2] | Height | numeric | The height in cm | (149.5 - 198.1) |
[,3] | Age | numeric | The age in years | (18 - 67) |
[,4] | Circumference | numeric | Circumference in cm | (57.9 - 113.2) |
# Linear model with the weight as response
lm(Weight ~ Height + Age, data = bodydata)
# Scatterplot matrix with all variables
pairs(bodydata, panel = panel.smooth)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.