6.5.6.Video quiz - quanganh2001/Google-Data-Analytics-Professional-Certificate-Coursera GitHub Wiki
Using R Markdown in RStudio
With the HTML report shown along side the .RMD file, notice that headings in the report are created when you include one or more hashtags (#) before the heading text, such as ## Including Plots. The more hashtags used, the smaller the heading font. # Including Plots creates a Header 1 style heading whereas ## Including Plots creates a Header 2 style heading.
Questions: A data analyst wants to find headers in their R Markdown document. What should they look for?
A. Semicolons
B. Hashtags
C. Spaces
D. Backticks
The correct answer is B. Hashtags. Explain: Hashtags are used for headers; for example, ### Results indicates that Results is a Header 3 style heading because there three hashtags.
The knit button can be used to save an R Markdown document as a shareable HTML report.
A. True
B. False
It is true statement. Explain: The knit button creates a shareable HTML report of the R Markdown file.
A data analyst has code chunks in their R Markdown file. How do they appear in an HTML report?
A. Generated output
B. HTML code
C. Attachments
D. Plain text
The correct answer is A. Generated output. Explain: The code chunks are run and the output appears in the HTML report.