R Markdown

다음은 R Markdown에 대한 설명입니다.
Plain text
End a line with two spaces
to start a new paragraph.

italics and bold
verbatim code
sub/superscript232
strikethrough
escaped: * _ \
endash: –, emdash: —

equation: \(A = \pi*r^{2}\)
equation block:
\[E = mc^{2}\]

block quote

Header1

Header 2

Header 3

Header 4

Header 5
Header 6

HTML ignored in pdfs

https://posit.co/download/rstudio-desktop/
link

Jump to Header 1

image: Caption

  • unordered list
    • sub-item 1
    • sub-item 2
      • sub-sub-item 1
  • item 2 Continued (indent 4 spaces)
  1. ordered list
  2. item 2
    1. sub-item 1
      A. sub-sub-item 1
  1. A list whose numbering
    continues after
  2. an interruption

Term 1

Definition 1
Right Left Default Center
12 12 12 12
123 123 123 123
1 1 1 1

A footnote 1

  • slide bullet 1
  • slide bullet 2

(>- to have bullets appear on click)

horizontal rule/slide break:


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

Including Plots

You can also embed plots, for example:

plot(pressure)

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.

Average of mpg is 20.09.


  1. Here is the footnote.↩︎