"It’s not just what you know, but how you practice what you know that determines how well the learning serves you later."
― Peter C. Brown, Make It Stick
"It’s not just what you know, but how you practice what you know that determines how well the learning serves you later."
― Peter C. Brown, Make It Stick
What is faceting?
What type of plot is usually preferred for an explanatory categorical variable and a response categorical variable?
Given the 'weather' dataset, what function would we use to choose only the variables of humidity and precipitation?
arrange(weather, humid, precip)
select(weather, humid, precip)
filter(weather, humid, precip)
summarize(weather, humid)
What is the process of decomposing frames into less redundant tables without losing info?
What R code would you use to find the mean and standard deviation of temperature in the weather data set?
weather %>% summarize(mean = mean(temp), std_dev = sd(temp))
weather %>% summarize(mean = mean(temp, na.rm = TRUE), std_dev = sd(temp, na.rm = TRUE))
weather %>% summarize(mean = (mean = temp), std_dev = (sd = temp))
weather %>% summarize(mean = (mean == temp), std_dev = (sd == temp))
Find the mean gdpPercap
of each region for each year
region_perCap <- gap %>% group_by(year) %>% summarize(mean_perCap = mean(gdpPercap))
region_perCap <- gap %>% summarize(region, year, mean_perCap = mean(gdpPercap))
region_perCap <- gap %>% group_by(region, year) %>% summarize(mean_perCap = mean(gdpPercap))
region_perCap <- gap %>% group_by(region) %>% summarize(mean_perCap = mean(gdpPercap))
What concepts are you having the hardest time with right now? Be as specific as possible.
What else can I do to help you work with dplyr
and ggplot2
?
What else will you be doing to help yourself work with dplyr
and ggplot2
?