“Research is reproducible when others can reproduce the results of a scientific study given only the original data, code, and documentation.”
Data - access to original data.
Code - others can read, learn & replicate results.
Documentation - complete information about how to conduct the study.


“R is a free software environment for statistical computing and graphics.”

Addition
Subtraction
Multiplication
Division

“The RStudio integrated development environment (IDE) is a set of tools built to help you be more productive with R and Python.”
install.packages("tidyverse")
library(tidyverse)
?function_name - Opens help documentation| Action | Windows/Linux | Mac |
|---|---|---|
| Run current line | Ctrl + Enter | Cmd + Enter |
| Run entire script | Ctrl + Shift + Enter | Cmd + Shift + Enter |
| Save script | Ctrl + S | Cmd + S |
| New script | Ctrl + Shift + N | Cmd + Shift + N |
Assignment operator <- |
Alt + - | Option + - |
| Comment/Uncomment | Ctrl + Shift + C | Cmd + Shift + C |
Addition
Subtraction
Sequence
Function structure
Combine
Create an object
“An open-source scientific and technical publishing system”
Quarto can produce a wide variety of output formats:
Articles & Reports
Presentations
Interactive Docs
Websites
Books
Create a Quarto document with HTML format.
Explain YAML, more about Quarto YAML options.
Explain Text, more about Quarto text formating
Explain Code Chunk; more about the Quarto code chunk options

Comments (#)
# This is a comment- R ignores this linex <- 5 # Comments can go after code too