# Data Sets and Supplemental Functions from 'OpenIntro' Textbooks

## Documentation for package ‘openintro’ version 1.7.1

- DESCRIPTION file.

## Help Pages

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

openintro-package | OpenIntro data sets and supplemental functions

## -- A --

abbr2state | Convert state names to abbreviations and back again
acs12 | American Community Survey, 2012
ageAtMar | Age at first marriage of 5,534 US women.
ami.occurrences | Acute Myocardial Infarction (Heart Attack) Events
ArrowLines | Create a Line That may have Arrows on the Ends
association.1.3 | Simulated data for association plots, set 1
association.4.6 | Simulated data for association plots, set 2
association.7.12 | Simulated data for association plots, set 3
assortive.mating | Eye color of couples
avandia | Cardiovascular problems for two types of Diabetes medicines

## -- B --

babies | The Child Health and Development Studies
babies.crawl | Crawling age
bac | Beer and blood alcohol content
ballBearing | Lifespan of ball bearings
bdims | Body measurements of 507 physically active individuals.
births | North Carolina births
books | Sample of books on a shelf
boxPlot | Box plot
Braces | Plot a Braces Symbol
buildAxis | Axis function substitute
burger | Burger preferences

## -- C --

cancer.in.dogs | Cancer in dogs
cards | Deck of cards
cars | cars
cats | Summary of 144 cats
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
chick.wts | Chicken weights vs feed type
china | Child care hours
ChiSquareTail | Plot upper tail in chi-square distribution
classData | Simulated class data
COL | OpenIntro Statistics colors
contTable | Generate Contingency Tables for LaTeX
corr.match | Sample data sets for correlation problems
county | United States Counties
county.w.sm.ban | County data set with smoking ban.
countyComplete | United States Counties
cpr | CPR data set
createEdaOptions | Exploratory data analysis plot
credits | College credits.
CT2DF | Contingency Table to Data Frame

## -- D --

densityPlot | Density plot
diamonds | Information on diamond prices
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
drug.use | Drug use of students and parents

## -- E --

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
epa2012 | Vehicle info from the EPA
exams | Exam scores

## -- F --

fadeColor | Fade colors
fcid | Summary of male heights from USDA Food Commodity Intake Database
fheights | Female college student heights, in inches
fitNormal | Exploratory data analysis plot
friday | Friday the 13th
full.body.scan | Poll about use of full-body airport scanners

## -- G --

gear.company | Fake data for a gear company example
gender.discrimination | Bank manager recommendations based on gender
gifted | Analytical skills of young gifted children
global.warming.pew | Pew survey on global warming
goog | Google stock data
gov.poll | Pew Research poll on goverment approval ratings
govRace10 | Election results for 2010 Governor races in the U.S.
gpa | Survey of Duke students on GPA, studying, and more
gpa_study_hours | gpa_study_hours
gradesTV | Simulated data for analyzing the relationship between watching TV and grades
gsearch | Simulated Google search experiment
guessMethod | Exploratory data analysis plot

## -- H --

healthcare.law.survey | Pew Research Center poll on health care, including question variants
healthcare.survey | Healthcare Survey with Two Different Wordings
health_coverage | Health Coverage and Health Status
heartTr | Heart Transplant Data
helium | Helium football
histPlot | Histogram or hollow histogram
house | United States House of Representatives historical make-up
houseRace10 | Election results for the 2010 U.S. House of Represenatives races
housing | Simulated data set on student housing
hsb2 | High School and Beyond survey
husbands.wives | Married couples in Great Britain

## -- I --

immigration | Poll on illegal workers in the US
infMortRate | Infant Mortality Rates, 2012
ipod | Length of songs on an iPod
iris | Iris data (flowers)

## -- J --

jury | Simulated juror data set

## -- L --

leg_mari | Legalization of Marijuana Support in 2010 California Survey
linResPlot | Create simple regression plot with residual plot
lmPlot | Linear regression plot with residual plot
loop | Output a message while inside a loop
lsegments | Create a Line Segment Plot

## -- M --

makePlotIcon | Exploratory data analysis plot
makeTube | Regression tube
male.heights | Sample of 100 male heights
mammals | Sleep in Mammals
mammogram | Experiment with Mammogram Randomized
marathon | New York City Marathon Times
marioKart | Wii Mario Kart auctions from Ebay
migraine | Migraines and acupuncture
MLB | Salary data for Major League Baseball (2010)
mlbBat10 | Major League Baseball Player Hitting Statistics for 2010
MosaicPlot | Custom Mosaic Plot
myPDF | Custom PDF function
myPNG | Custom PDF function

## -- N --

nba.heights | NBA Player heights from 2008-9
ncbirths | North Carolina births
normTail | Normal distribution tails
nuclear.survey | Nuclear Arms Reduction Survey

## -- O --

offshore.drilling | California poll on drilling off the California coast
openintro | OpenIntro data sets and supplemental functions
orings | 1986 Challenger disaster and O-rings
oscars | Oscar winners, 1929 to 2012
outliers | Simulated data sets for different types of outliers

## -- P --

plotNothing | Exploratory data analysis plot
PlotWLine | Plot data and add a regression line
pm25.2011.durham | Air quality for Durham, NC
poker | Poker winnings during 50 sessions
possum | possum
president | United States Presidental History
prof.evaltns.beauty.public | Instructor beauty scores and instruction ratings
prRace08 | Election results for the 2008 U.S. Presidential race

## -- R --

res.demo.1 | Simulated data for regression
res.demo.2 | Simulated data for regression
run10 | Cherry Blossom 10 mile run data, 2009
run10Samp | Cherry Blossom 10 mile run data, 2009
run10_09 | Cherry Blossom 10 mile run data, 2009

## -- S --

sat.improve | Simulated data for SAT score improvement
satGPA | SAT and GPA data
scotus_healthcare | Public Opinion with SCOTUS ruling on American Healthcare Act
senateRace10 | Election results for the 2010 U.S. Senate races
sinusitis | Sinusitis and antibiotic experiment
sleep.deprivation | Survey on sleep deprivation and transportation workers
smoking | UK Smoking Data
sp500.seq | S&P 500 stock data
speed.gender.height | Speed, gender, and height of 1302 students
stanford | Stanford heart transplant experiment
starbucks | Starbucks nutrition
state2abbr | Convert state names to abbreviations and back again
stats.scores | Final exam scores for twenty students
stem.cell | Embryonic stem cells to treat heart attack (in sheep)
stem.cells | Stem Cell Transplant Experiment
stent30 | Stents for the treatment of stroke
stent365 | Stents for the treatment of stroke
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 --

textbooks | Textbook data for UCLA Bookstore and Amazon
tgSpending | Thanksgiving spending, simulated based on Gallup poll.
tips | Tip data
toohey | Simulated polling data set
tourism | Turkey tourism
toy.anova | Simulated data set for ANOVA
transplant | Transplant consultant success rate (fake data)
treeDiag | Construct tree diagrams
trees | Summary of 32 trees

## -- U --

unempl | Annual unemployment since 1890
unemploy.pres | President's party performance and unemployment rate
urban.owner | Summary of many state-level variables
urban.rural.pop | State summary info

## -- W --

WriteTable | Write a Data Frame or Matrix to a Text File

## -- 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)