powered by
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".
"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.
data(Weights) summary(Weights) # ML estimates lmW <- lm(weight ~ age, data = Weights) summary(lmW)
Run the code above in your browser using DataLab