
DAA_11_Dplyr-Tidyr
Authored by Alfonso Gar
Biology, Science
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A package with easy tools for the most common data manipulation tasks.
The package includes some commands named as verbs that coincide with the most common actions over data:
select(): subset columns.
filter(): subset rows on conditions.
mutate(): create new columns by using information from other columns.
group_by() and summarize(): create summary statisitcs on grouped data.
arrange(): order rows.
ggplot2
dplyr
tidyr
magrittr
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A package with the functions to convert from long to wide format and viceversa: pivot_longer() and pivot_wider()
ggplot2
dplyr
tidyr
magrittr
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The next code:
iris %>%
group_by(Species) %>%
summarise(Mean.Petal.Length = mean(Petal.Length))
Is using the Tidyverse notation.
Will create a vector with the species of iris.
Do not need any library from R.
Gives an error.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The next code:
iris %>%
group_by(Species) %>%
summarise(Mean.Petal.Length = mean(Petal.Length))
Creates a matrix
Will create a dataframe with three rows.
Do not need any library from R.
Gives an error.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The next code will give:
iris %>%
pivot_longer(-Species)
A tibble dataframe with two columns.
A tibble dataframe with three columns.
A tibble dataframe with four columns.
A tibble dataframe with five columns.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Eye & Vision
Quiz
•
University
10 questions
Anatomia de ojo 2
Quiz
•
University
10 questions
CIENCIA Y AMBIENTE
Quiz
•
University
10 questions
Cow Eye Dissection Quiz
Quiz
•
University
10 questions
Test-1
Quiz
•
University
10 questions
Genetica sustitutorio 2022
Quiz
•
University
10 questions
Exploring the Temple of Poseidon
Quiz
•
7th Grade - University
10 questions
How Human Eyes Work
Quiz
•
8th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade