openintro2.5.0 package

Datasets and Supplemental Functions from 'OpenIntro' Textbooks and Labs

ArrowLines

Create a Line That may have Arrows on the Ends

AxisInDollars

Build Better Looking Axis Labels for US Dollars

AxisInPercent

Build Better Looking Axis Labels for Percentages

BG

Add background color to a plot

boxPlot

Box plot

Braces

Plot a Braces Symbol

buildAxis

Axis function substitute

calc_streak

Calculate hit streaks

CCP

Plot a Cartesian Coordinate Plane

ChiSquareTail

Plot upper tail in chi-square distribution

contTable

Generate Contingency Tables for LaTeX

CT2DF

Contingency Table to Data Frame

densityPlot

Density plot

dlsegments

Create a Double Line Segment Plot

dotPlot

Dot plot

dotPlotStack

Add a Stacked Dot Plot to an Existing Plot

edaPlot

Exploratory data analysis plot

fadeColor

Fade colors

histPlot

Histogram or hollow histogram

lab_report

lab_report

labor_market_discriminiation

Are Emily and Greg More Employable Than Lakisha and Jamal?

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

makeTube

Regression tube

MosaicPlot

Custom Mosaic Plot

myPDF

Custom PDF function

normTail

Normal distribution tails

openintro-package

openintro: Datasets and Supplemental Functions from 'OpenIntro' Textbo...

openintro_cols

Function to extract OpenIntro IMS colors as hex codes

openintro_pal

Return function to interpolate an OpenIntro IMS color palette

PlotWLine

Plot data and add a regression line

qqnormsim

Generate simulated QQ plots

scale_color_openintro

Color scale constructor for OpenIntro IMS colors

scale_fill_openintro

Fill scale constructor for OpenIntro IMS colors

treeDiag

Construct tree diagrams

usb_admit

ucb_admit

write_pkg_data

Create a CSV variant of .rda files

Supplemental functions and data for 'OpenIntro' resources, which includes open-source textbooks and resources for introductory statistics (<https://www.openintro.org/>). The package contains datasets used in our open-source textbooks 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) when run in some versions of Windows operating system.

  • Maintainer: Mine Çetinkaya-Rundel
  • License: GPL-3
  • Last published: 2024-05-31