“The goal of reproducible research is to tie specific instructions to data analysis and experimental data so that scholarship can be recreated, better understood, and verified.”
Max Kuhn, CRAN Task View: Reproducible Research
Remember, the data and code are real, the products (tables, figures) are ephemeral…
“An article about computational result is advertising, not scholarship. The actual scholarship is the full software environment, code and data, that produced the result.”
Claerbout and Karrenbach, Proceedings of the 62nd Annual International Meeting of the Society of Exploration Geophysics. 1992
Peng 2011, Science 334(6060) pp. 1226-1227
Excel coding error sliced several countries out of the data set…. The Economist
“The article has been retracted at the request of the authors. After carefully re-examining the data presented in the article, they identified that data of two different hospitals got terribly mixed. The published results cannot be reproduced in accordance with scientific and clinical correctness.”” Authors of Low Dose Lidocaine for Refractory Seizures in Preterm Neonates
Authors informed the journal that the merge of lab results and other survey data used in the paper resulted in an error regarding the identification codes. Results of the analyses were based on the data set in which this error occurred.
“Lower levels of CSF IL-6 were associated with current depression and with future depression […]” Original conclusion
“Higher levels of CSF IL-6 and IL-8 were associated with current depression […]” Revised conclusion
“Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to humans what we want the computer to do.” Donald E. Knuth, Literate Programming, 1984
For example… If I say that 2 + 2 = 4, why would you believe me?
## [1] 4
The text and R code are interwoven in the output. The products are ephemeral - focus is on the methods!
Of course 2+2
is trivial, but what if I said:
Pros
Cons
Markdown: lightweight document formatting syntax. Easy to write, read and publish as-is.
The human-readable part:
*
for bullet, _
for underlineRMarkdown & Quarto
Engine for dynamic report generation in R
A universal document converter, open source, cross-platform
Abandoning the habit of secrecy in favor of process transparency and peer review was the crucial step by which alchemy became chemistry.
Raymond, E. S., 2004, The art of UNIX programming: Addison-Wesley.
References: See Rmd file for full references and sources