Exploratory Data Analysis Quiz 1

This is Quiz 1 from the Exploratory Data Analysis course

Questions


1. Which of the following is a principle of analytic graphics?


  • Show causality, mechanism, explanation



2. What is the role of exploratory graphs in data analysis?


  • They are typically made very quickly.


library(jpeg)

download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fjeff.jpg", destfile = "quiz2jpeg.jpg")
jpgdat = readJPEG("quiz2jpeg.jpg", native = TRUE)
quantile(jpgdat, probs = c(0.3, 0.8))
##       30%       80% 
## -15259150 -10575416

3. Which of the following is true about the base plotting system?


  • Plots are created and annotated with separate functions



4. Which of the following is an example of a valid graphics device in R?


  • A PDF file



5. Which of the following is an example of a vector graphics device in R?


  • SVG



6. Bitmapped file formats can be most useful for


  • Scatterplots with many many points



7. Which of the following functions is typically used to add elements to a plot in the base graphics system?


  • text()


8. Which function opens the screen graphics device for the Mac?


  • quartz()


9. What does the ‘pch’ option to par() control?


  • the plotting symbol/character in the base graphics system


10. If I want to save a plot to a PDF file, which of the following is a correct way of doing that?


  • Construct the plot on the screen device and then copy it to a PDF file with dev.copy2pdf()


See more at: http://www.ryantillis.com/