May 21, 2015

https://github.com/ropensci/rrrpkg

Tony Hey 'Open Science Decoded'

"We introduce the concept of a compendium as both a container for the different elements that make up the document and its computations (i.e. text, code, data,…), and as a means for distributing, managing and updating the collection."

– Gentleman, R. and Temple Lang, D. (2004). Statistical analyses and reproducible research. Bioconductor Project Working Papers. http://biostats.bepress.com/bioconductor/paper2/

README.md
data

README.md
data
R

README.md
data
R
man

README.md
data
R
man
tests

README.md
data
R
man
tests
DESCRIPTION
NAMESPACE
LICENSE

README.md
data
R
man
tests
DESCRIPTION
NAMESPACE
LICENSE
src

README.md
data
R
man
tests
DESCRIPTION
NAMESPACE
LICENSE
src
manuscript

manuscript

A Minimal Example

We examine the relationship between speed and stopping distance using a linear regression model: \(Y = \beta_0 + \beta_1 x + \epsilon\).

par(mar = c(4, 4, 1, 1), mgp = c(2, 1, 0), cex = 0.8)
plot(cars, pch = 20, col = 'darkgray')
fit <- lm(dist ~ speed, data = cars)
abline(fit, lwd = 2)

The slope of a simple linear regression is 3.9324088.

Compendium+

.travis.yml
Dockerfile
circle.yml

Colophon