Datasets and Supplemental Functions from 'OpenIntro' Textbooks and Labs


[Up] [Top]

Documentation for package ‘openintro’ version 2.5.0

Help Pages

A B C D E F G H I J K L M N O P Q R S T U W X Y

-- A --

absenteeism Absenteeism from school in New South Wales
acs12 American Community Survey, 2012
age.at.mar Age at first marriage of 5,534 US women.
ageAtMar Age at first marriage of 5,534 US women.
age_at_mar Age at first marriage of 5,534 US women.
ames Housing prices in Ames, Iowa
ami_occurrences Acute Myocardial Infarction (Heart Attack) Events
antibiotics Pre-existing conditions in 92 children
antibiotics.in.children Pre-existing conditions in 92 children
antibiotics_in_children Pre-existing conditions in 92 children
arbuthnot Male and female births in London
ArrowLines Create a Line That may have Arrows on the Ends
ask How important is it to ask pointed questions?
association Simulated data for association plots
association_1_3, Simulated data for association plots
association_4_6, Simulated data for association plots
association_7_12 Simulated data for association plots
assortative_mating Eye color of couples
assortive.mating Eye color of couples
assortive_mating Eye color of couples
avandia Cardiovascular problems for two types of Diabetes medicines
AxisInDollars Build Better Looking Axis Labels for US Dollars
AxisInPercent Build Better Looking Axis Labels for Percentages

-- B --

babies The Child Health and Development Studies
babies_crawl Crawling age
bac Beer and blood alcohol content
ball.bearing Lifespan of ball bearings
ballBearing Lifespan of ball bearings
ball_bearing Lifespan of ball bearings
bdims Body measurements of 507 physically active individuals.
BG Add background color to a plot
biontech_adolescents Efficacy of Pfizer-BioNTech COVID-19 vaccine on adolescents
birds Aircraft-Wildlife Collisions
births North Carolina births, 100 cases
births14 US births
blizzard_salary Blizzard Employee Voluntary Salary Info.
books Sample of books on a shelf
boxPlot Box plot
Braces Plot a Braces Symbol
buildAxis Axis function substitute
burger Burger preferences

-- C --

calc_streak Calculate hit streaks
cancer_in_dogs Cancer in dogs
cards Deck of cards
cars04 cars04
cars93 cars93
cchousing Community college housing (simulated data)
CCP Plot a Cartesian Coordinate Plane
census Random sample of 2000 U.S. Census Data
cherry Summary information for 31 cherry trees
children_gender_stereo Gender Stereotypes in 5-7 year old Children
china Child care hours
ChiSquareTail Plot upper tail in chi-square distribution
cia.factbook CIA Factbook Details on Countries
cia_factbook CIA Factbook Details on Countries
classdata Simulated class data
cle_sac Cleveland and Sacramento
climate70 Temperature Summary Data, Geography Limited
climber_drugs Climber Drugs Data.
coast.starlight Coast Starlight Amtrak train
coast_starlight Coast Starlight Amtrak train
COL OpenIntro Statistics colors
comics comics
contTable Generate Contingency Tables for LaTeX
corr.match Sample datasets for correlation problems
corr_match Sample datasets for correlation problems
country_iso Country ISO information
cpr CPR dataset
cpu CPU's Released between 2010 and 2020.
createEdaOptions Exploratory data analysis plot
credits College credits.
CT2DF Contingency Table to Data Frame

-- D --

daycare_fines Daycare fines
densityPlot Density plot
diabetes2 Type 2 Diabetes Clinical Trial for Patients 10-17 Years Old
dlsegments Create a Double Line Segment Plot
dotPlot Dot plot
dotPlotStack Add a Stacked Dot Plot to an Existing Plot
dream Survey on views of the DREAM Act
drone_blades Quadcopter Drone Blades
drug_use Drug use of students and parents
duke_forest Sale prices of houses in Duke Forest, Durham, NC

-- E --

earthquakes Earthquakes
ebola_survey Survey on Ebola quarantine
edaPlot Exploratory data analysis plot
elmhurst Elmhurst College gift aid
email Data frame representing information about a collection of emails
email50 Sample of 50 emails
email_test Data frame representing information about a collection of emails
env_regulation American Adults on Regulation and Renewable Energy
epa2012 Vehicle info from the EPA for 2012
epa2021 Vehicle info from the EPA for 2021
esi Environmental Sustainability Index 2005
ethanol Ethanol Treatment for Tumors Experiment
evals Professor evaluations and beauty
exams Exam scores
exam_grades Exam and course grades for statistics students
exclusive.relationship Number of Exclusive Relationships
exclusive_relationship Number of Exclusive Relationships

-- F --

fact_opinion Can Americans categorize facts and opinions?
fadeColor Fade colors
family_college Simulated sample of parent / teen college attendance
fastfood Nutrition in fast food
fcid Summary of male heights from USDA Food Commodity Intake Database
fheights Female college student heights, in inches
fish_age Young fish in the North Sea.
fish_oil_18 Findings on n-3 Fatty Acid Supplement Health Benefits
fitNormal Exploratory data analysis plot
flow_rates River flow data
friday Friday the 13th
full.body.scan Poll about use of full-body airport scanners
full_body_scan Poll about use of full-body airport scanners

-- G --

gdp_countries GDP Countries Data.
gear_company Fake data for a gear company example
gender_discrimination Bank manager recommendations based on gender
get_it_dunn_run Get it Dunn Run, Race Times
gifted Analytical skills of young gifted children
global.warming.pew Pew survey on global warming
global_warming_pew Pew survey on global warming
goog Google stock data
gov_poll Pew Research poll on government approval ratings
gpa Survey of Duke students on GPA, studying, and more
gpa.iq Sample of students and their GPA and IQ
gpa_iq Sample of students and their GPA and IQ
gpa_study_hours gpa_study_hours
gradestv Simulated data for analyzing the relationship between watching TV and grades
gsearch Simulated Google search experiment
gss2010 2010 General Social Survey
gss_wordsum_class gss_wordsum_class
guessMethod Exploratory data analysis plot

-- H --

health.coverage Health Coverage and Health Status
healthcare_law_survey Pew Research Center poll on health care, including question variants
health_coverage Health Coverage and Health Status
heartTr Heart Transplant Data
heart_transplant Heart Transplant Data
helium Helium football
helmet Socioeconomic status and reduced-fee school lunches
hfi Human Freedom Index
histPlot Histogram or hollow histogram
house United States House of Representatives historical make-up
housing Simulated dataset on student housing
hsb2 High School and Beyond survey
husbands.wives Great Britain: husband and wife pairs
husbands_wives Great Britain: husband and wife pairs

-- I --

immigration Poll on illegal workers in the US
IMSCOL Introduction to Modern Statistics (IMS) Colors
infmortrate Infant Mortality Rates, 2012
iowa iowa
ipo Facebook, Google, and LinkedIn IPO filings
ipod Length of songs on an iPod
iran iran

-- J --

jury Simulated juror dataset

-- K --

kobe_basket Kobe Bryant basketball performance

-- L --

labor_market_discrimination Are Emily and Greg More Employable Than Lakisha and Jamal?
labor_market_discriminiation Are Emily and Greg More Employable Than Lakisha and Jamal?
lab_report lab_report
LAhomes LAhomes
law_resume Gender, Socioeconomic Class, and Interview Invites
lecture_learning Lecture Delivery Method and Learning Outcomes
lego_population Population of Lego Sets for Sale between Jan. 1, 2018 and Sept. 11, 2020.
lego_sample Sample of Lego Sets
leg_mari Legalization of Marijuana Support in 2010 California Survey
life_exp life_exp
linResPlot Create simple regression plot with residual plot
lizard_habitat Field data on lizards observed in their natural habitat
lizard_run Lizard speeds
lmPlot Linear regression plot with residual plot
loan50 Loan data from Lending Club
loans_full_schema Loan data from Lending Club
london_boroughs London Borough Boundaries
london_murders London Murders, 2006-2011
loop Output a message while inside a loop
lsegments Create a Line Segment Plot

-- M --

mail_me Influence of a Good Mood on Helpfulness
major.survey Survey of Duke students and the area of their major
major_survey Survey of Duke students and the area of their major
makePlotIcon Exploratory data analysis plot
makeTube Regression tube
malaria Malaria Vaccine Trial
male_heights Sample of 100 male heights
male_heights_fcid Random sample of adult male heights
mammals Sleep in Mammals
mammogram Experiment with Mammogram Randomized
manhattan manhattan
marathon New York City Marathon Times (outdated)
mariokart Wii Mario Kart auctions from Ebay
mcu_films Marvel Cinematic Universe films
midterms_house President's party performance and unemployment rate
migraine Migraines and acupuncture
military US Military Demographics
mlb Salary data for Major League Baseball (2010)
mlbbat10 Major League Baseball Player Hitting Statistics for 2010
mlb_players_18 Batter Statistics for 2018 Major League Baseball (MLB) Season
mlb_teams Major League Baseball Teams Data.
mn_police_use_of_force Minneapolis police use of force data.
MosaicPlot Custom Mosaic Plot
movies movies
mtl Medial temporal lobe (MTL) and other data for 26 participants
murders Data for 20 metropolitan areas
myPDF Custom PDF function
myPNG Custom PDF function

-- N --

nba_finals NBA Finals History
nba_finals_teams NBA Finals Team Summary
nba_heights NBA Player heights from 2008-9
nba_players_19 NBA Players for the 2018-2019 season
ncbirths North Carolina births, 1000 cases
normTail Normal distribution tails
nuclear_survey Nuclear Arms Reduction Survey
nyc nyc
nycflights Flights data
nyc_marathon New York City Marathon Times

-- O --

offshore.drilling California poll on drilling off the California coast
offshore_drilling California poll on drilling off the California coast
openintro_colors OpenIntro colors
openintro_cols Function to extract OpenIntro IMS colors as hex codes
openintro_pal Return function to interpolate an OpenIntro IMS color palette
openintro_palettes OpenIntro palettes
opportunity_cost Opportunity cost of purchases
orings 1986 Challenger disaster and O-rings
oscars Oscar winners, 1929 to 2018
outliers Simulated datasets for different types of outliers

-- P --

paralympic_1500 Race time for Olympic and Paralympic 1500m.
penelope Guesses at the weight of Penelope (a cow)
penetrating_oil What's the best way to loosen a rusty bolt?
penny.ages Penny Ages
penny_ages Penny Ages
pew_energy_2018 Pew Survey on Energy Sources in 2018
photo_classify Photo classifications: fashion or not
piracy Piracy and PIPA/SOPA
playing_cards Table of Playing Cards in 52-Card Deck
plotNothing Exploratory data analysis plot
PlotWLine Plot data and add a regression line
pm25.2011.durham Air quality for Durham, NC
pm25_2011_durham Air quality for Durham, NC
pm25_2022_durham Air quality for Durham, NC
poker Poker winnings during 50 sessions
possum Possums in Australia and New Guinea
ppp.201503 US Poll on who it is better to raise taxes on
ppp_201503 US Poll on who it is better to raise taxes on
present Birth counts
president United States Presidental History
prison Prison isolation experiment
prius_mpg User reported fuel efficiency for 2017 Toyota Prius Prime

-- Q --

qqnormsim Generate simulated QQ plots

-- R --

race_justice Yahoo! News Race and Justice poll results
reddit_finance Reddit Survey on Financial Independence.
resume Which resume attributes drive job callbacks?
res_demo_1 Simulated data for regression
res_demo_2 Simulated data for regression
rosling_responses Sample Responses to Two Public Health Questions
russian_influence_on_us_election_2016 Russians' Opinions on US Election Influence in 2016

-- S --

salinity Salinity in Bimini Lagoon, Bahamas
satgpa SAT and GPA data
sat_improve Simulated data for SAT score improvement
sa_gdp_elec Sustainability and Economic Indicators for South Africa.
scale_color_openintro Color scale constructor for OpenIntro IMS colors
scale_fill_openintro Fill scale constructor for OpenIntro IMS colors
scotus_healthcare Public Opinion with SCOTUS ruling on American Healthcare Act
seattlepets Names of pets in Seattle
sex_discrimination Bank manager recommendations based on sex
simpsons_paradox_covid Simpson's Paradox: Covid
simulated_dist Simulated datasets, not necessarily drawn from a normal distribution.
simulated_normal Simulated datasets, drawn from a normal distribution.
simulated_scatter Simulated data for sample scatterplots
sinusitis Sinusitis and antibiotic experiment
sleep_deprivation Survey on sleep deprivation and transportation workers
smallpox Smallpox vaccine results
smoking UK Smoking Data
snowfall Snowfall at Paradise, Mt. Rainier National Park
socialexp Social experiment
soda soda
solar Energy Output From Two Solar Arrays in San Francisco
sowc_child_mortality SOWC Child Mortality Data.
sowc_demographics SOWC Demographics Data.
sowc_maternal_newborn SOWC Maternal and Newborn Health Data.
sp500 Financial information for 50 S&P 500 companies
sp500_1950_2018 Daily observations for the S&P 500
sp500_seq S&P 500 stock data
speed_gender_height Speed, gender, and height of 1325 students
ssd_speed SSD read and write speeds
starbucks Starbucks nutrition
stats_scores Final exam scores for twenty students
stem_cell Embryonic stem cells to treat heart attack (in sheep)
stent30 Stents for the treatment of stroke
stent365 Stents for the treatment of stroke
stocks_18 Monthly Returns for a few stocks
student_housing Community college housing (simulated data, 2015)
student_sleep Sleep for 110 students (simulated)
sulphinpyrazone Treating heart attacks
supreme_court Supreme Court approval rating

-- T --

teacher Teacher Salaries in St. Louis, Michigan
textbooks Textbook data for UCLA Bookstore and Amazon
tgSpending Thanksgiving spending, simulated based on Gallup poll.
thanksgiving.spend Thanksgiving spending, simulated based on Gallup poll.
thanksgiving_spend Thanksgiving spending, simulated based on Gallup poll.
tips Tip data
toohey Simulated polling dataset
tourism Turkey tourism
toy_anova Simulated dataset for ANOVA
transplant Transplant consultant success rate (fake data)
treeDiag Construct tree diagrams
twins twins

-- U --

ucb_admit ucb_admit
ucla_f18 UCLA courses in Fall 2018
ucla_textbooks_f18 Sample of UCLA course textbooks for Fall 2018
ukdemo United Kingdom Demographic Data
unempl Annual unemployment since 1890
unemploy_pres President's party performance and unemployment rate
usb_admit ucb_admit
us_temperature US temperatures in 1950 and 2022

-- W --

winery_cars Time Between Gondola Cars at Sterling Winery
world_pop World Population Data.
write_pkg_data Create a CSV variant of .rda files

-- X --

xom Exxon Mobile stock data

-- Y --

yawn Contagiousness of yawning
yrbss Youth Risk Behavior Surveillance System (YRBSS)
yrbss_samp Sample of Youth Risk Behavior Surveillance System (YRBSS)