This is a section.
This is a subsection.
This is how you can embed an R code chunk:
library(ggplot2)
data(mtcars)
ggplot(mtcars, aes(mpg, wt)) + geom_point() + geom_smooth()
library(swirl)
library(foreign)
library(lintr)
library(rmarkdown)
library(ggplot2)
library(dplyr)
library(tidyr)
This is how you can run in-line R code. The product of 3
and 4
is 12.
End a line with two spaces to start a new paragraph.
This is how you write italics (or italics), bold, verbatim code
, subscript2, superscript2, endash: –, and emdash: —.
An equation looks like this: \(A = \pi \times r^{2}\)
An equation block looks like this: \[E = mc^{2}\]
An array of aligned equations looks like this:
\[\begin{eqnarray} 1 + 1 & = & 2\\ 1001 + 1 & < & 200000 \end{eqnarray}\]This is how you make a comment that will not show in the output document:
This is how you create a link: http://www.rstudio.com or link
This is an unordered list:
This is an ordered list:
RMarkdown is very case sensitive. Every indented / added space and every empty line matters.