This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
This is a book on R Markdown, aimed for scientists. It was initially developed as a 3 hour workshop, but is now developed into a resource that will grow and change over time as a living book.
Link to the rendered book: http://openplantpathology.github.io/rmd4sci-melbourne/
This book aims to teach the following:
- Getting started with your own R Markdown document
- Improve workflow:
- With RStudio projects
- Using keyboard shortcuts
- Export your R Markdown document to PDF, HTML, and Microsoft Word
- Better manage figures and tables
- Reference figures and tables in text so that they dynamically update
- Create captions for figures and tables
- Change the size and type of figures
- Save the figures to disk when creating an R Markdown document
- Work with equations
- inline and display
- caption equations
- reference equations
- Manage bibliographies
- Cite articles in text
- generate bibliographies
- Change bibliography styles
- Debug and handle common errors with R Markdown
- Next steps in working with R Markdown - how to extend yourself to other R Markdown formats
For a scientific report to be completely credible, it must be reproducible. The full computational environment used to derive the results, including the data and code used for statistical analysis should be available for others to reproduce. R Markdown is a tool that allows you integrate your code, text and figures in a single file in order to make high quality, reproducible reports. A paper published with an included R Markdown file and data sets can be reproduced by anyone with a computer.
After completing this course, you will know how to:
- Create your own R Markdown document
- Create figures and tables that you can reference in text, and update with - your data
- Export your R Markdown document to PDF, HTML, and Microsoft Word
- Use keyboard shortcuts to improve workflow
- Cite research articles and generate a bibliography We may, depending on time, also cover the following areas:
- Change the size and type of your figures
- Create captions for your figures, and reference them in text
- Cite research articles and generate a bibliography
- Debug and handle common errors
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.