What is the result of (height > 72) | (height + 6 < 70) when height = 60?
Consider: rent <- 1200; utilities_adj <- utilities + '10'. Assuming utilities is not defined, what happens when this code runs?
What is the result of 0 / 0 in R?
The following code produces an error on geom_smooth(). What is the fix?
states %>%
ggplot() +
geom_point(aes(x = Income, y = Illiteracy)) +
geom_smooth()Fill in the correct geom to add a horizontal reference line at the mean duration:
ggplot(mendota, aes(x = year, y = duration)) +
geom_point() +
_____(yintercept = mean(mendota$duration), color = "red")Fill in the correct pivot function to go from WIDE format (one column per language) to LONG format (one row per student-language pair):
Language %>%
select(Name, English:Spanish) %>%
_____(English:Spanish, names_to = "Language", values_to = "Fluent")Complete the code to combine 'Hello' and 'World' into a single string with a space between them:
What does sum(c(TRUE, FALSE, TRUE, TRUE)) return?
You want to join the 'Major' and 'Language' tables so that ONLY the 15 students present in BOTH tables are in the result. Which join is correct?
What does class(TRUE) return?