1) Code Chunks 
2) Tables 
3) Inline Code 
4) Output Formats
# Code Chunks go in here 

# Windows: CTRL + ALT + I
# MAC: CMD + OPTION + I 

# Run Current Chunk: Windows: CMD + SHIFT + OPTION + J
# Run Current Chunk: MAC: CMD + OPTION + C 
# When you knit your document, the code will run that's in the chunk will not be evaluated 
# when you clear some pacakges, warnings or messages can clutter up the document therefore this command line supresses those messages when you knit your document
# This will be put a caption on your figure and it will look nice on your final report
## Warning: package 'knitr' was built under R version 4.0.5
# Code Chunks go in here 

# Windows: CTRL + ALT + I
# MAC: CMD + OPTION + I 

# Run Current Chunk: Windows: CMD + SHIFT + OPTION + J
# Run Current Chunk: MAC: CMD + OPTION + C 


# when you KNIT your document, the code will run that's in that chunk 
# but you won't actually see the code 


# When you knit your document, the code will run that's in the chunk will not be evaluated 

# when you clear some pacakges, warnings or messages can clutter up the document therefore this command line supresses those messages when you knit your document


# This will be put a caption on your figure and it will look nice on your final report

library(knitr)
opts_chunk$set(echo= FALSE)

# suppresses the printing of all the chunks that run afer this specific chunk


# at the end of your document (in the APPENDIX) you can add all the code at the bottom. For this line of command, we are using the all_labels function that comes from the knitr package. We do this because I don't want to evaluate my code a second time when knitting. I just want to print the code, I don't want to run everything.