inst/snippets/Exploration6.2.9.R

diff(mean(shuffle(time) ~ sleep, data = Sleep))
Sleep.null <- do(30) * diffmean(shuffle(time) ~ sleep, data = Sleep)
head(Sleep.null, 3)
dotPlot(~ diffmean, data = Sleep.null, width = 1, cex = .25)
rpruim/ISIwithR documentation built on May 28, 2019, 1:30 a.m.