Learn R Programming

BSDA (version 1.2.2)

Gym: Children's age versus number of completed gymnastic activities

Description

Data for Exercises 2.21 and 9.14

Usage

Gym

Arguments

Format

A data frame/tibble with eight observations on three variables

age

age of child

number

number of gymnastic activities successfully completed

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code

plot(number ~ age, data = Gym)
model <- lm(number ~ age, data = Gym)
abline(model, col = "red")
summary(model)

Run the code above in your browser using DataLab