| 1 |
--- |
| 2 |
title: "Untitled" |
| 3 |
author: "cloc test" |
| 4 |
date: "5/12/2018" |
| 5 |
output: html_document |
| 6 |
--- |
| 7 |
|
| 8 |
```{r setup, include=FALSE} |
| 9 |
knitr::opts_chunk$set(echo = TRUE) |
| 10 |
``` |
| 11 |
|
| 12 |
## R Markdown |
| 13 |
|
| 14 |
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>. |
| 15 |
|
| 16 |
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: |
| 17 |
|
| 18 |
```{r cars} |
| 19 |
summary(cars) |
| 20 |
# summary(cars) |
| 21 |
``` |
| 22 |
|
| 23 |
## Including Plots |
| 24 |
|
| 25 |
You can also embed plots, for example: |
| 26 |
|
| 27 |
```{r pressure, echo=FALSE} |
| 28 |
plot(pressure) |
| 29 |
|
| 30 |
plot(cars) |
| 31 |
``` |
| 32 |
|
| 33 |
Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot. |