February 22, 2014
This presentation uses material prepared by Roger D. Peng, including two of his images and a lot of knitr slides. Source:
Dr. Peng's material and this presetnation may be shared, subject to the Creative Commons Attribution NonCommercial ShareAlike 4.0 International License (http://creativecommons.org/licenses/by-nc-sa/4.0/deed.en_GB).
Reproducible research involves the careful, annotated preservation of data, analysis code, and associated files, such that statistical procedures, output, and published results can be directly and fully replicated
mydat <- read.table("2014-02-20_data.csv") ## Correct pH data mydat$pH[mydat$pH == 0] <- NA ## exclude rows with missing data: mydat <- mydat[ , complete.cases(mydat)] ## exclude sample 67, failed reaction: mydat <- subset(mydat, rownames(mydat) != "samp67")