library(tidyverse)Warning: package 'ggplot2' was built under R version 4.5.2
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr 1.1.4 ✔ readr 2.1.5
✔ forcats 1.0.0 ✔ stringr 1.5.1
✔ ggplot2 4.0.1 ✔ tibble 3.3.0
✔ lubridate 1.9.4 ✔ tidyr 1.3.1
✔ purrr 1.1.0
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
url <- "https://raw.githubusercontent.com/JZunaRepo/data/refs/heads/main/graduation_rate.csv"
df <- read.csv(
file = url
)
glimpse(df)Rows: 1,000
Columns: 7
$ ACT.composite.score <int> 22, 29, 30, 33, 29, 28, 29, 30, 27, 32, 28…
$ SAT.total.score <int> 1625, 2090, 2188, 2151, 2050, 1976, 2097, …
$ parental.level.of.education <chr> "high school", "associate's degree", "bach…
$ parental.income <int> 40999, 75817, 82888, 93518, 79153, 100048,…
$ high.school.gpa <dbl> 3.0, 4.0, 4.0, 4.0, 4.0, 3.8, 4.0, 3.7, 3.…
$ college.gpa <dbl> 3.1, 3.4, 3.9, 3.7, 3.4, 3.5, 3.4, 3.4, 3.…
$ years.to.graduate <int> 7, 5, 3, 5, 6, 4, 6, 5, 4, 3, 5, 5, 5, 6, …