-
Notifications
You must be signed in to change notification settings - Fork 0
/
MarkdownTest.Rmd
48 lines (35 loc) · 1.06 KB
/
MarkdownTest.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
title: "This is a test knitr document "
author: "aeoluseros"
date: "Sunday, March 29, 2015"
output: html_document
---
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
{r,echo=FALSE}
```{r,echo=FALSE}
summary(cars)
```
{r,cache=FALSE}
```{r,cache=FALSE}
summary(cars)
```
{r,eval=FALSE}
```{r,eval=FALSE}
summary(cars)
```
{r,results='hide'}
```{r,results='hide'}
summary(cars)
```
You can also embed plots, for example:
{r, echo=FALSE}
```{r, echo=FALSE}
plot(cars)
```
Modify the format a little bit:
{r, fig.width=7,fig.height=6}
```{r, fig.width=7,fig.height=6}
plot(cars)
```
Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot.