Learn R Programming

openintro (version 2.4.0)

major_survey: Survey of Duke students and the area of their major

Description

Survey of 218 students, collecting information on their GPAs and their academic major.

Usage

major_survey

Arguments

Format

A data frame with 218 observations on the following 2 variables.

gpa

Grade point average (GPA).

major

Area of academic major.

Examples

Run this code

library(ggplot2)

ggplot(major_survey, aes(x = major, y = gpa)) +
  geom_boxplot()

Run the code above in your browser using DataLab