Learn R Programming

BSDA (version 1.2.1)

Shuttle: Number of people riding shuttle versus number of automobiles in the downtown area

Description

Data for Exercise 9.20

Usage

Shuttle

Arguments

Format

A data frame/tibble with 15 observations on two variables

users

number of shuttle riders

autos

number of automobiles in the downtown area

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(autos ~ users, data = Shuttle)
model <- lm(autos ~ users, data = Shuttle)
summary(model)
rm(model)

Run the code above in your browser using DataLab