テキストの書式を変更する
動画で紹介したように、RMarkdown には 太字 や 斜体 など、さまざまな書式設定オプションがあります。RMarkdown レポートの最初の段落で実際に試してみましょう。
この演習はコースの一部です
Tidyverseによるデータコミュニケーション
演習の手順
- 最初の文の
"International Labour Organization"を 太字 にしてください。"The" は太字にしないよう注意しましょう。 - 最初の文の "data sets" を
http://www.ilo.org/global/statistics-and-databases/lang--en/index.htmへのリンクに変換してください。 - サマリー内の
"the reduction in weekly working hours"を 斜体 にして強調してください。
実践的なインタラクティブ演習
このサンプルコードを完成させて、この演習に挑戦してみましょう。
{"my_document.Rmd":"---\ntitle: \"The reduction in weekly working hours in Europe\" \nsubtitle: \"Looking at the development between 1996 and 2006\"\nauthor: \"Insert your name here\"\noutput: html_document\n---\n\n## Summary \n\nThe International Labour Organization (ILO) has many data sets on working conditions. For example, one can look at how weekly working hours have been decreasing in many countries of the world, while monetary compensation has risen. In this report, the reduction in weekly working hours in European countries is analysed, and a comparison between 1996 and 2006 is made. All analysed countries have seen a decrease in weekly working hours since 1996 – some more than others.\n\n## Preparations \n\nThis is where you will load the necessary R packages.\n\n## Analysis\n\n### Data\n\nThis is where you will load the data. \n\n### Preprocessing\n\nThis is where you will preprocess the data.\n\n### Results\n\nThis is where you will plot the data.\n\n\n"}