Example modeled after http://rmarkdown.rstudio.com/authoring_basics.html
The R source that made this document.

### Emphasis

*italic*   **bold**

_italic_   __bold__

italic bold

italic bold

### Horizontal Rule / Page Break

Three or more asterisks or dashes:

******

------

# Header 1



### Lists

Unordered List:

* Item 1
* Item 2
+ Item 2a
+ Item 2b
• Item 1
• Item 2
• Item 2a
• Item 2b

Ordered List:

1. Item 1
2. Item 2
3. Item 3
+ Item 3a
+ Item 3b
1. Item 1
2. Item 2
3. Item 3
• Item 3a
• Item 3b

### R Code Chunks

R code will be evaluated and printed

{r}
summary(cars$dist) summary(cars$speed)
summary(cars$dist) ## Min. 1st Qu. Median Mean 3rd Qu. Max. ## 2.00 26.00 36.00 42.98 56.00 120.00 summary(cars$speed)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
##     4.0    12.0    15.0    15.4    19.0    25.0

### Inline R Code

There were  r nrow(cars) cars studied

There were 50 cars studied

### Images

Images on the web or local files in the same directory:

![alt text](http://www.iana.org/_img/2013.1/iana-logo-header.svg) ### Blockquotes

A friend once said:

> It's always better to give
> than to receive.

A friend once said:

It’s always better to give than to receive.

### Inline Code

We defined the add function to
compute the sum of two numbers.

We defined the add function to compute the sum of two numbers.

### LaTeX Equations

Inline equation:

This is the best equation ever $y=x^2/2$.  But this one isn't too shabby either, $\sum_{i=1}^n X_i$.  Don't forget to escape the sqrt, $\sqrt{b^2 - 4ac}$

This is the best equation ever $$y=x^2/2$$. But this one isn’t too shabby either, $$\sum_{i=1}^n X_i$$. Don’t forget to escape the sqrt, $$\sqrt{b^2 - 4ac}$$

Display equation:
This is a decent equation, too.

$\sum_{i=1}^n X_i$

$$\sum_{i=1}^n X_i$$

### Tables

|Header |Column 1 | Column 2 | Column 3  |
|:--- |:---- |:----:| ----:|
|1. Row| is | is | is  |
|2. Row| left | nicely | right  |
|3. Row| aligned | centered | aligned  |  
Header Column 1 Column 2 Column 3
1. Row is is is
2. Row left nicely right
3. Row aligned centered aligned

### Manual Line Breaks

End a line with two or more spaces:

Roses are red,
Violets are blue.  

Roses are red,
Violets are blue.

### Miscellaneous

superscript^2^

~~strikethrough~~

superscript2

strikethrough