family_college {openintro} | R Documentation |
A simulated dataset based on real population summaries.
family_college
A data frame with 792 observations on the following 2 variables.
Whether the teen goes to college
or not
.
Whether the parent holds a college degree
or not
.
Simulation based off of summary information provided at https://eric.ed.gov/?id=ED460660.
library(dplyr)
family_college |>
count(teen, parents)