A quick look at dplyr’s new across() function

Interactive Video
•
Architecture, Social Studies
•
University
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of the 'across' function introduced in Dplyr 1.0?
To perform a function across multiple columns
To visualize data in a data frame
To analyze a single column in a data frame
To sort data in a data frame
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you access the new functions in Dplyr 1.0 before they are available on CRAN?
By using an older version of Dplyr
By downloading the development version from GitHub
By using the base R functions
By downloading the stable version from CRAN
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the benefit of using 'across' when summing numeric columns in a data frame?
It allows for reshaping the data
It sorts the data alphabetically
It eliminates the need to name each column individually
It automatically visualizes the data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a feature of the 'across' function when applying multiple functions?
It only works with character columns
It allows applying a list of functions to each column
It requires reshaping the data
It can only apply one function at a time
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of applying the 'across' function with median and maximum on a data frame?
A reshaped data frame with all values
A data frame with only the maximum values
A summarized data frame with median and maximum for each date column
A single column with the average value
Similar Resources on Wayground
2 questions
Tidy eval in R: A simple example

Interactive video
•
University
2 questions
How to merge in R

Interactive video
•
University
6 questions
Data Science Prerequisites - Numpy, Matplotlib, and Pandas in Python - The apply() Function

Interactive video
•
University
8 questions
R tip: Access nested list items with purrr

Interactive video
•
University
3 questions
R tip: Animations in R

Interactive video
•
University
2 questions
PySpark and AWS: Master Big Data with PySpark and AWS - Project (UDF and WithColumn)

Interactive video
•
University
2 questions
Get month-over-month comparisons in R

Interactive video
•
University
2 questions
A quick look at dplyr’s new across() function

Interactive video
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Architecture
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University