Learn R Programming

⚠️There's a newer version (2.4.0) of this package.Take me there.

openintro (version 1.4)

OpenIntro data sets and supplemental functions

Description

This package is a supplement to OpenIntro Statistics, which is a free textbook available at openintro.org (at cost paperbacks are also available for under $10 on Amazon). The package contains data sets used in the textbook along with custom plotting functions for reproducing book figures. Note that many functions and examples include color transparency. Some plotting elements may not show up properly (or at all) in some Windows versions.

Copy Link

Version

Install

install.packages('openintro')

Monthly Downloads

6,433

Version

1.4

License

GPL-2 | GPL-3

Maintainer

David Diez

Last Published

September 1st, 2012

Functions in openintro (1.4)

ccHousing

Community college housing (simulated data)
ageAtMar

Age at first marriage of 5,534 US women.
marioKart

Wii Mario Kart auctions from Ebay
dotPlot

Dot plot
census

Random sample of 2000 U.S. Census Data
email50

Sample of 50 emails
densityPlot

Density plot
gifted

Analytical skills of young gifted children
makeTube

Regression tube
gradesTV

Simulated data for analyzing the relationship between watching TV and grades
bdims

Body measurements of 507 physically active individuals.
ipod

Length of songs on an iPod
myPDF

Custom PDF function
mammals

Sleep in Mammals
heartTr

Heart Transplant Data
infMortRate

Infant Mortality Rates, 2012
MLB

Salary data for Major League Baseball (2010)
edaPlot

Exploratory data analysis plot
ncbirths

North Carolina births
helium

Helium football
COL

OpenIntro Statistics colors
govRace10

Election results for 2010 Governor races in the U.S.
boxPlot

Box plot
email

Data frame representing information about a collection of emails
births

North Carolina births
credits

College credits.
openintro-package

OpenIntro data sets and supplemental functions
smoking

UK Smoking Data
contTable

Generate Contingency Tables for LaTeX
buildAxis

Axis function substitute
treeDiag

Construct tree diagrams
ballBearing

Lifespan of ball bearings
prRace08

Election results for the 2008 U.S. Presidential race
hsb2

High School and Beyond survey
senateRace10

Election results for the 2010 U.S. Senate races
mlbBat10

Major League Baseball Player Hitting Statistics for 2010
lmPlot

Linear regression plot with residual plot
satGPA

SAT and GPA data
possum

possum
county

United States Counties
abbr2state

Convert state names to abbreviations and back again
tips

Tip data
classData

Simulated class data
cars

cars
countyComplete

United States Counties
marathon

New York City Marathon Times
poker

Poker winnings during 50 sessions
president

United States Presidental History
friday

Friday the 13th
house

United States House of Representatives historical make-up
normTail

Normal distribution tails
tgSpending

Thanksgiving spending, simulated based on Gallup poll.
loop

Output a message while inside a loop
textbooks

Textbook data for UCLA Bookstore and Amazon
oscars

Oscar winners, 1929 to 2012
fadeColor

Fade colors
histPlot

Histogram or hollow histogram
run10

Cherry Blossom 10 mile run data, 2009
houseRace10

Election results for the 2010 U.S. House of Represenatives races
unempl

Annual unemployment since 1890