Skip to content

Companion to Introduction to Statistical Investigations by Tintle et al

Notifications You must be signed in to change notification settings

rpruim/ISIwithR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 21, 2015
7703172 · May 21, 2015
May 19, 2015
May 19, 2015
May 19, 2015
May 18, 2015
May 18, 2015
May 19, 2015
May 19, 2015
May 21, 2015
May 18, 2015
May 21, 2015
May 19, 2015
May 19, 2015
May 19, 2015
May 19, 2015
May 21, 2015

Repository files navigation



ISIwithR

This R Companion to Introduction to Statistical Investigations (Preliminary Edition) by Nathan Tintle et al provides

  • a companion text demonstrating how to use R to perform the analyses in that book
  • an R package (ISIwithR)

Companion Text

The campanion text is available as a PDF [to view] or [to download]

  • The authors are Randall Pruim and Lana Park.

R Package

The ISIwithR package can be installed from github using

devtools::install_github("rpruim/ISIwithR")

This package contains

  • all of the data sets used in the book, and
  • the isa_snippet() function which can be used to run any of 463 code chunks from the campanion.

For example:

require(ISIwithR)
require(mosaic)
isi_snippet("Exploration6.3.8")
#> 
#> 
#> 	isa_snippet(Exploration6.3.8)
#> 	------ ~~~~~~~~~~~~~~~~
#> 
#> > Friends.null <- do(1000) * diffmean(friends ~ shuffle(sex), data = CloseFriends)
#> 
#> > head(Friends.null, 3)
#>      diffmean
#> 1  0.15596895
#> 2  0.04284731
#> 3 -0.20546848
#> 
#> > histogram(~ diffmean, data = Friends.null, width = 0.05,
#> +         group = cut(diffmean, c(-0.4, -0.228, 0.228, 0.4)), 
#> +         fcol = c("steelblue", "navy", "steelblue"))

About

Companion to Introduction to Statistical Investigations by Tintle et al

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published