This document provides quick references to the most commonly used R Markdown syntax. See the following articles for more in-depth treatment of all the capabilities of R Markdown:
Emphasis*italic* **bold**_italic_ __bold__Headers# Header 1## Header 2### Header 3
Lists
Unordered List:
* Item 1* Item 2 + Item 2a + Item 2bOrdered List:
1. Item 12. Item 23. Item 3 + Item 3a + Item 3bR Code Chunks
R code will be evaluated and printed
```{r}summary(cars$dist)summary(cars$speed)```Inline R CodeThere were `r nrow(cars)` cars studied
Links
Use a plain http address or add a link to a phrase:
http://example.com[linked phrase](http://example.com)Images
Images on the web or local files in the same directory:
BlockquotesA friend once said:> It's always better to give> than to receive.
Plain Code Blocks
Plain code blocks are displayed in a fixed-width font but not evaulated
```This text is displayed verbatim / preformatted```Inline CodeWe defined the `add` function tocompute the sum of two numbers.LaTeX Equations
LaTeX Equations
Inline equation:
$equation$Display equation:
$$ equation $$Horizontal Rule / Page Break
Three or more asterisks or dashes:
******------TablesFirst Header | Second Header------------- | -------------Content Cell | Content CellContent Cell | Content CellReference Style Links and Images
LinksA [linked phrase][id].
At the bottom of the document:
[id]: http://example.com/ "Title"Images![alt text][id]At the bottom of the document:
[id]: figures/img.png "Title"Manual Line Breaks
End a line with two or more spaces:
Roses are red,Violets are blue.Miscellaneoussuperscript^2^~~strikethrough~~


雷达卡



京公网安备 11010802022788号







