Search Header Logo

Tidyverse Quiz

Authored by Priom Saha

Mathematics

University

Used 3+ times

Tidyverse Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the Tidyverse?

  • A) A collection of base R functions

  • B) A collection of R packages designed for data manipulation and visualization

  • C) A visualization library in Python

  • D) A machine learning library in R

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following functions is part of the Tidyverse?

  • Lattice

reshape2

  • ggplot2

tapply

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the function mutate() in Tidyverse do?

  • A) Filters rows based on a condition

  • B) Reorders the rows of a dataframe

  • C) Creates new variables or modifies existing ones

  • D) Groups data by a variable

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which function works on the columns in a dataframe?

  • A) filter()

  • B) select()

  • C) arrange()

  • D) summarize()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In a dataframe, which operator is used to filter rows based on multiple conditions combined with "or"?

  • A) &

  • B) |

  • C) %

  • D) :

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of the group_by() function in the dplyr package?

  • A) To create new variables

  • B) To sort the dataframe by a specific column

  • C) To change the scope of subsequent functions to operate at group levels

  • D) To perform arithmetic operations

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you check the structure of a dataframe in Tidyverse?

  • A) str()

  • B) glimpse()

  • C) head()

  • D) summary()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?