RRstudio示例
示例
这是一个另存为.Rmd的脚本,与另存为.R的r个脚本相反。
要编织脚本,请使用render功能或使用Rstudio中的快捷按钮。
---
title: "Rstudio exemple of a rmd file"
author: 'stack user'
date: "22 July 2016"
output: html_document
---
The header is used to define the general parameters and the metadata.
## R Markdown
This is an R Markdown document.
It is a script written in markdown with the possibility to insert chunk of R code in it.
To insert R code, it needs to be encapsulated into inverted quote.
Like that for a long piece of code:
```{r cars}
summary(cars)
```
And like ``r cat("that")`` for small piece of code.
## Including Plots
You can also embed plots, for example:
```{r echo=FALSE}
plot(pressure)
```
热门推荐
10 结婚等待吃饭祝福语简短
11 新年喝酒祝福语大全简短
12 名人写信结尾祝福语简短
13 订婚作文祝福语简短英文
14 伴娘送亲祝福语简短精辟
15 简短宝贝祝福语大全集
16 新郎婚礼致辞祝福语简短
17 搬乔迁新居祝福语简短
18 小朋友六一祝福语简短