2 Introduction to R
This workshop is beginner-level introduction to programming in R. The course is designed to be taught in two sessions of 3 hours each and is focused on the application of R to the analysis of tabular data from clinical trials.
2.1 R Markdown File
R Markdown files act as notebooks which can make it easier to document and share code. All the results from the code as well as your comments and descriptions can be combined into one, tidy document. This makes it easy to combine insights, protocols and figures in a practical and organized fashion.
2.3 Comments
Comments are embedded into your code to help explain its purpose. This is extremely important for reproducibility and for documentation.