: Fill in the blank: In ggplot2, the term mapping refers to the connection between variables and _____ . View
: A data analyst creates a plot using the following code chunk:ggplot(data = penguins) +geom_point(mapping = aes(x = flipper_length_mm, y = body_mass_g))Which of the following represents a function in the code chunk? Select all that apply. View
: A data analyst is working with the penguins data. The variable species includes three penguin species: Adelie, Chinstrap, and Gentoo. The analyst wants to create a data frame that only includes the Adelie species. The analyst receives an error message when they run the following code:penguins %>%filter(species <- “Adelie”)How can the analyst change the second line of code to correct the error? View
: A data analyst is working with a large data frame. It contains so many columns that they don’t all fit on the screen at once. The analyst wants a quick list of all of the column names to get a better idea of what is in their data. What function should they use? View
: In R, which statistical measure demonstrates how strong the relationship is between two variables? View
: You are working with the penguins dataset. You want to use the summarize() and mean() functions to find the mean value for the variable body_mass_g. You write the following code:penguins %>%drop_na() %>%group_by(species) %>%Add the code chunk that lets you find the mean value for the variable body_mass_g.summarize(mean(body_mass_g))What is the mean body mass in g for the Adelie species? View
: A data analyst wants a quick summary of the structure of their data frame, including the column names and the number of rows and variables. What function should they use? View
: You are working with the penguins dataset. You want to use the summarize() and min() functions to find the minimum value for the variable bill_depth_mm. You write the following code:penguins %>%drop_na() %>%group_by(species) %>%Add the code chunk that lets you find the minimum value for the variable bill_depth_mm.summarize(min(bill_depth_mm))What is the minimum bill depth in mm for the Chinstrap species? View
: A data analyst is working with the penguins dataset. What code chunk does the analyst write to make sure all the column names are unique and consistent and contain only letters, numbers, and underscores? View