Bắt đầu ngayBắt đầu miễn phí

Thay đổi định dạng các đoạn văn bản

Như vừa thấy trong video, RMarkdown còn có các tùy chọn định dạng như chữ đậm hoặc nghiêng. Hãy thử áp dụng chúng cho đoạn đầu tiên trong báo cáo RMarkdown của bạn.

Bài tập này là một phần của khóa học

Truyền đạt bằng Dữ liệu trong Tidyverse

Xem khóa học

Hướng dẫn bài tập

  • Làm "International Labour Organization" trong câu đầu tiên thành chữ đậm. Hãy chắc rằng bạn không làm đậm cả "The".
  • Biến cụm "data sets" trong câu đầu tiên thành một liên kết tới http://www.ilo.org/global/statistics-and-databases/lang--en/index.htm
  • Trong phần tóm tắt, nhấn mạnh "the reduction in weekly working hours" bằng cách chuyển nó thành chữ nghiêng.

Bài tập tương tác thực hành trực tiếp

Hãy thử làm bài tập này bằng cách hoàn thành đoạn mã mẫu này.

{"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"}
Chỉnh sửa và Chạy Mã