일반 문단의 경우 # 표시 없이 시작합니다. 그리고 문단변경은 엔터를 두번 입력해야 합니다.
이제 문단이 바뀌었습니다.
만일 줄바꿈을 하려면 HTML 태그를 사용합니다.
br 태그를 써서 줄바꿈 했습니다.
위의 중괄호는 id로 here를 적용한 것입니다.
기울어진글꼴 굵은 글꼴 윗첨자 아랫첨자 코드입력
다음은 순서있는 단락입니다.
숫자는 점으로 문자는 )로 구분
R Logo File
y = ax2 + bx + 1
\(y = ax^{2} + bx + 1\)
수식은 달러표시 안에 지정한 방법으로 넣습니다.
\(A \cap B\)
\(y = ax + b, 0 \le x \le 1\) \(y = ax + b,~~~~~~~~~~~~~ 0 \le x \le 1\)
\(X \sim N(\mu, \sigma^{2})\)
summary( cars )
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
summary( cars )
cars[c(1:6, 46:50), ]
## speed dist
## 1 4 2
## 2 4 10
## 3 7 4
## 4 7 22
## 5 8 16
## 6 9 10
## 46 24 70
## 47 24 92
## 48 24 93
## 49 24 120
## 50 25 85
datatable( cars )
제동거리의 평균은 42.98 입니다.
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:
summary(cars)
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
You can also embed plots, for example:
Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.