更改文本片段的格式
正如视频中所示,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"}