Learn R Programming

openintro (version 2.4.0)

coast_starlight: Coast Starlight Amtrak train

Description

Travel times and distances.

Usage

coast_starlight

Arguments

Format

A data frame with 16 observations on the following 3 variables.

station

Station.

dist

Distance.

travel_time

Travel time.

Examples

Run this code

library(ggplot2)

ggplot(coast_starlight, aes(x = dist, y = travel_time)) +
  geom_point()

Run the code above in your browser using DataLab