DAA_11_Dplyr-Tidyr

DAA_11_Dplyr-Tidyr

University

5 Qs

quiz-placeholder

Similar activities

NON MENDELIAN INHERITANCE

NON MENDELIAN INHERITANCE

University

10 Qs

La vista

La vista

4th Grade - University

10 Qs

Ojo

Ojo

University

10 Qs

Eyes 0qrys JX8EI

Eyes 0qrys JX8EI

8th Grade - University

10 Qs

Incomplete/Codominance Quiz

Incomplete/Codominance Quiz

KG - University

10 Qs

DAA_13_R-data

DAA_13_R-data

University

5 Qs

Activity 8 Flowers

Activity 8 Flowers

10th Grade - University

10 Qs

Post-Test Glaukoma 1

Post-Test Glaukoma 1

University

10 Qs

DAA_11_Dplyr-Tidyr

DAA_11_Dplyr-Tidyr

Assessment

Quiz

Biology, Science

University

Hard

Created by

Alfonso Gar

Used 3+ times

FREE Resource

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.