Weights | R Documentation |
Data for the VIBASS session on linear models. This is a simulated dataset that includes data about children. The variables in the dataset are:
data("Weights")
An object of class "data.frame"
.
age. Age (in years).
vegetables. Measure of vegetables consumption.
weight. Weight (in kg).
sex. Girl or Boy.
height. Height (in cm).
ethnicity Asian, Black or European.
VIBASS Team.
data(Weights)
summary(Weights)
# ML estimates
lmW <- lm(weight ~ age, data = Weights)
summary(lmW)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.