R tip: Access nested list items with purrr

Interactive Video
•
Architecture, Social Studies, Geography, Science
•
University
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one of the main challenges when working with nested lists in R?
They are always empty.
They require a lot of memory.
They can have inconsistent structures.
They are not supported in R.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which package is used in the example to geocode addresses?
R Geocode IO
tidyverse
ggplot2
dplyr
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the modify_depth function in the purrr package?
To sort data frames.
To modify list columns at a specified depth.
To create new data frames.
To delete list columns.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you change all values in a data frame column to lowercase using purrr?
Use the toupper function.
Use a for loop.
Use modify_depth with a formula.
Use the tolower function directly.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of using bracket one on a vector in R?
It returns the first element.
It duplicates the vector.
It deletes the vector.
It returns the last element.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you convert a list to a vector in R using purrr?
By using the as_vector function.
By using the as_list function.
By using the as_dataframe function.
By using the as_matrix function.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to add vectors to the original data frame?
arrange
filter
select
mutate
Similar Resources on Wayground
2 questions
Scala & Spark-Master Big Data with Scala and Spark - Lists Create and Delete Elements

Interactive video
•
University
2 questions
Data Science and Machine Learning with R - {dplyr}: The Arrange Verb

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

Interactive video
•
University
2 questions
Mastering Tableau 2018.1, Second Edition 10.4: Custom Geocoding

Interactive video
•
University
6 questions
R Programming for Statistics and Data Science - The Tidyverse Package

Interactive video
•
University
5 questions
Callback Abstraction Challenge

Interactive video
•
University
8 questions
Destructuring and Property Shorthand Challenge

Interactive video
•
University
2 questions
MongoDB Mastering MongoDB for Beginners (Theory and Projects) - $elemMatch Operator

Interactive video
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Architecture
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University