Developing Data Products Quiz 2

This is Quiz 2 from the Developing Data Products course within the Data Science Specialization. This publication is intended as a learning resource, all answers are documented and explained.

Questions


1. What is rmarkdown? (Check all that apply.)


  • A format that can be interpreted into markdown (which is a simplified markup language).

  • A simplified format that, when interpreted, incorporates your R analysis into your document.



2. In rmarkdown presentations, in the options for code chunks, what command prevents the code from being repeated before results in the final interpreted document?


  • echo = FALSE


3. In rmarkdown presentations, in the options for code chunks, what prevents the code from being interpreted?


  • eval = FALSE



4. What is leaflet? (Check all that apply.)


  • An R package interface to the javascript library of the same name

  • A javascript library for creating interactive maps



5. The R command

df %>% leaflet() %>% addTiles()

is equivalent to what? (Check all that apply)


  • addTiles(leaflet(df))

  • leaflet(df) %>% addTiles()


5. If I want to add popup icons to my leaflet map in R, I should use.


  • addMarkers


Check out my website at: http://www.ryantillis.com/