Files with extension .Rmd are R Markdown files. We are going to practice compiling .Rmd files, i.e. knit them, to HTML pages.
HW-0 repo and setting up the RStudio project:HW-0.Rmd, following the steps on the repo page for HW-0.We’ll learn R Markdown syntax as we go during the semester.
data(mtcars)
plot(mtcars$mpg, mtcars$disp)
See how we can seamlessly blend R code, R output, R plots, and text!
summary(mtcars$wt)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 1.513 2.581 3.325 3.217 3.610 5.424
blah blah
Quick lists:
Quick numbered lists:
Tables:
| First Header | Second Header |
|---|---|
| Content Cell | Content Cell |
| Content Cell | Content Cell |
\(\exp\left(\frac{1}{2}\right)\)