
Data Visualization in R
Quiz by Aaron Curtis
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
32 questions
Show answers
- Q1You can’t tackle big data unless you have experience with small data.TrueFalse30s
- Q2An R __________ is a collection of functions, data, and documentation that extends the capabilities of base R.data.framerepositorylibrarypackage30s
- Q3You can install the complete tidyverse with a single line of code:install.packages("tidyverse")import("tidyverse")library("tidyverse")load("tidyverse")30s
- Q4Once you have installed a package, you can load it with the _________ function.setwd()library()load()import()30s
- Q5The ggplot2, tibble, tidyr, readr, purrr, and dplyr packages are known as the ______ of the tidyverse.trunkfoundationcorecenter30s
- Q6The easiest way to include data in a question is to use ______ to generate the R code to recreate it.input()dput()recreate()generate()30s
- Q7ggplot2 implements the ___________, a coherent system for describing and building graphs.descriptions of dataaesthetics of attributesgrammar of graphicscharacters of charts30s
- Q8To load the core tidyverse packages use the _________ command.load(tidy-core)install.packages(tidyverse)use.package(tidyverse)library(tidyverse)30s
- Q9A _______ is a rectangular collection of variables (in the columns) and observations (in the rows).data cubepivot tablemeta matrixdata frame30s
- Q10________ creates a coordinate system that you can add layers to.coord()ggplot()geom()graph()30s
- Q11The first argument of ggplot() is the ______ to use in the graph.aestheticmappingdatasetstatistic30s
- Q12You complete your graph by adding one or more ______ to ggplot().plotslayerschartsaesthetics30s
- Q13Each geom function in ggplot2 takes a _______ argument. This defines how variables in your dataset are mapped to visual properties.datamappingvisualvariables30s
- Q14The mapping argument is always paired with _____.geom()aes()data()coord()30s
- Q15Running ggplot(data = mpg) by itself will generatea blank grida scatterplot using the first two variables in mpga prompt for the variable namesan error30s