Module 12
Through this assignment, I learned how R Markdown brings together several important components of reproducible reporting. I became more comfortable with Markdown syntax, especially how headings, paragraphs, lists, and inline formatting work. I also learned how to incorporate LaTeX math into a document using both inline expressions surrounded by single dollar signs and displayed equations using double dollar signs. Seeing the rendered mathematical notation helped me understand how R Markdown communicates technical ideas clearly.
I also gained experience integrating narrative text with executable R code chunks. It was useful to see how code and commentary work together in a single document, with the results of each chunk—like tables or plots—appearing immediately below the code that produced them. This made the workflow feel more organized and made it easier to connect explanations with the output they refer to.
One challenge I faced was understanding when certain content should or shouldn’t be placed inside a code chunk. At first, I accidentally put narrative paragraphs inside {r} blocks, which caused knitting errors because R tried to interpret plain text as code. Once I realized that only actual R code belongs inside chunks, and all explanations should remain as regular Markdown text, the document knit correctly. I also needed some practice formatting LaTeX expressions correctly, but after testing a few examples, it became more intuitive.
Overall, this exercise helped me appreciate how R Markdown supports clear communication, reproducibility, and a smooth blend of code and explanation within one file.
https://github.com/christyj777/r-programming-assignments/tree/main/module%2012
Comments
Post a Comment