Weights: Weights of children

WeightsR Documentation

Weights of children

Description

Data for the VIBASS session on linear models. This is a simulated dataset that includes data about children. The variables in the dataset are:

Usage

data("Weights")

Format

An object of class "data.frame".

Details

  • 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.

Source

VIBASS Team.

Examples

data(Weights)
summary(Weights)

# ML estimates
lmW <- lm(weight ~ age, data = Weights)
summary(lmW)

vibass documentation built on Aug. 8, 2025, 6:52 p.m.