Please cite this compendium as:
Authors, (2020). Compendium of R code and data for Data And Code For The Datatoobox Exercises. Accessed 03 Nov 2020. Online at https://doi.org/xxx/xxx
The analysis directory contains:
- 📁 paper: R Markdown source document
for manuscript. Includes code to reproduce the figures and tables
generated by the analysis. It also has a rendered version,
paper.docx
, suitable for reading (the code is replaced by figures and tables in this file) - 📁 data: Data used in the analysis.
- 📁 figures: Plots and other illustrations
- 📁 supplementary-materials: Supplementary materials including notes and other documents prepared and collected during the analysis.
This research compendium has been developed using the statistical programming language R. To work with the compendium, you will need installed on your computer the R software itself and optionally RStudio Desktop.
The simplest way to explore the text, code and data is to click on binder to open an instance of RStudio in your browser, which will have the compendium files ready to work with. Binder uses rocker-project.org Docker images to ensure a consistent and reproducible computational environment. These Docker images can also be used locally.
You can download the compendium as a zip from from this URL:
master.zip. After unzipping: - open the .Rproj
file in RStudio - run devtools::install()
to ensure you have the
packages this analysis depends on (also listed in the
DESCRIPTION file). - finally, open
analysis/paper/paper.Rmd
and knit to produce the paper.docx
, or run
rmarkdown::render("analysis/paper/paper.Rmd")
in the R console
Text and figures : CC-BY-4.0
Code : See the DESCRIPTION file
Data : CC-0 attribution requested in reuse
We welcome contributions from everyone. Before you get started, please see our contributor guidelines. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
utils::sessionInfo()
#> R version 4.0.3 (2020-10-10)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Ubuntu 20.04.1 LTS
#>
#> Matrix products: default
#> BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
#> LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so.3
#>
#> locale:
#> [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
#> [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
#> [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] compiler_4.0.3 magrittr_1.5 tools_4.0.3 htmltools_0.5.0
#> [5] yaml_2.2.1 stringi_1.5.3 rmarkdown_2.5 knitr_1.30
#> [9] stringr_1.4.0 xfun_0.19 digest_0.6.27 rlang_0.4.8
#> [13] evaluate_0.14