DAA_11_Dplyr-Tidyr

DAA_11_Dplyr-Tidyr

University

5 Qs

quiz-placeholder

Similar activities

double fertilization

double fertilization

University

9 Qs

Quiz 1

Quiz 1

University

5 Qs

unit1

unit1

University

2 Qs

Major Sensory Systems

Major Sensory Systems

University

6 Qs

concurso #2

concurso #2

University

8 Qs

MBBS B49: Block 3 Quiz

MBBS B49: Block 3 Quiz

University

10 Qs

Biological databases

Biological databases

University

10 Qs

Plant Science

Plant Science

University

7 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.