The number of variables in a tidy data set is equal to...
What is the number of columns?
ggplot(data=mpg)+
geom_point(mapping=aes(x=displ, y=hwy, color=class)
What is a scatter plot of displacement vs. high way miles, color coded by class of car?
This tidyverse package provides five key functions that allow you to solve the vast majority of data-manipulation challenges.
What is dplyr?
x={1,2,3,4,5}
x>3|x==1
What is <ANSWER VARIES>?
possible answers {1,4,5}
The number of rows in a tidy data set.
What is the number of observations?
A geometrical object that a plot uses to represent data.
What is a geom?
This dplyr function allows you pick observations by their values
What is filter()?
This number is (greater than 5 AND even)AND(less than 10 AND a multiple of 3)
What is 6?
R package design for exploratory data analysis of rectangular data sets.
What is Tidyverse?
Every geom has a default stat. This is the default stat of geom_bar.
What is stat_count or count?
This dplyr funciton allows you to reorder the rows.
What is arrange()?
x={1,2,3,5,7,9}
(x!=2)|even
possible answers:{1,3,5,7,9}
This core member of tidyverse implements the "grammar of graphics" for describing and building graphs.
What is ggplot?
This layer of graphics allows you to split your plot into subplots. It is particulartly useful for categorical data.
What is faceting?
How do you pick all the flights after September?
filter(flights, month>9)
or
filter(flights, month>=10)
What are NAs?
What is library(tidyverse)?
This coordinate system function allows you to switch the x and y axes.
What is coord_flip()?
One day your minimalist friend is visiting, and she presents you with the numbers 2, 3, 4 and 5, and the symbols = and +, and the following tantalizing challenge: It is possible to use each number and symbol once and only once and end up with a true equation; further, you cannot use any number or symbol not given. How can you do this?
What is <still working on the answer>