This document demonstrates the basic functionality of RMarkdown, which allows users to combine text, code, and output into a single reproducible report.
RMarkdown is commonly used for: - Data analysis - Homework assignments - Reports and presentations - Research documentation
RMarkdown supports simple formatting such as:
You can also write paragraphs just like in a Word document.
Below is a simple R code chunk that creates a numeric vector and calculates summary statistics.
# Create a numeric vector
numbers <- c(5, 10, 15, 20, 25)
# Display summary statistics
summary(numbers)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 5 10 15 15 20 25