Search Header Logo

R Programming Fundamental

Authored by Nattawet Sri

Computers

University

Used 7+ times

R Programming Fundamental
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How do you access the help documentation for the mean function in R?

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How do you assign the value 25 to a variable named `age` in R?

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Given a vector v <- c(10, 20, 30, 40, 50)

how do you select the 3rd element?

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of code below

v <- c(1, 2, 3)

v * 2

2, 4, 6

1, 2, 3, 4, 5, 6

3, 6, 9

4, 5, 6

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Fill the gap to create a data frame

with columns `Name` and `Age`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the pipe operator (%>%) do in dplyr?

Passes the output of one function to the input of the next function

Concatenates strings together

Combines two data frames by columns

Filters rows in a data frame

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How do you select the `Age` column from a data frame `df` using dplyr?

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?