R Markdown 説明は長崎太郎が行う!

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 Image

Including Plots

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.

R Markdown Tests

演習課題

R Markdownとは

Rでドキュメント作成

Rはデ—タ解析

実はRでドキュメントを生成することが可能

R Markdownを利用

その便利さ、将来性に注目が

Markdown記法

数式はletex方式で書かれ、$で挟む必要がある

$ y_{i}=ax_{i}+b $

\(y_{i}=ax_{i}+b\)

文章の右上に数字を記載したい場合は^ 2 と記載する必要がある2^

画像を表示したい場合

例えば上の画像は…

! [] (/home/mother/DS_jikken/RStudio1.png) と書くことにより表示されている

文章に横線を引きたい場合は~~ ~~で文章を挟むとよい

参考文献 link {R Markdown入門}