--- title: "My Example RMarkdown Document" author: "Your Name" date: "May 8, 2023" output: pdf_document --- # Introduction Welcome to my example RMarkdown document! In this document, I'll demonstrate how to use markdown and knitr to generate dynamic output. # Example R code ```r # Generate some data x <- rnorm(100) # Calculate summary statistics mean_x <- mean(x) sd_x <- sd(x) # Print the results cat("Mean:", mean_x, "\n") ``` ``` ## Mean: -0.01088159 ``` ```r cat("SD:", sd_x, "\n") ``` ``` ## SD: 0.9250796 ```