Search Header Logo

The Basics of R

Authored by Adela Sobotkova

Computers

University

Used 11+ times

The Basics of R
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

What is this an icon of?

slack.png

R Project

R engine

R Studio

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What extension will an R script have?

.Rscript

.R

.Rproj

.Rmd

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which key autocompletes the existing object or function name when you start typing in R?

"->"
Shift
Tab
Escape

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is an absolute local path?

C:/users/me/Desktop/DigitalMethods/data/SAFI_clean.csv
data/SAFI_clean.csv
https://ndownloader.figshare.com/files/11492171
here/SAFI_clean.csv

5.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which command below will create a new object called interviews?

interviews <- c(1,2,3)

interviews[interviews =="yes"]

create.dir(interviews)

interviews <- NULL

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does .Rproj extension denote?

It is the file extension for Rmarkdown document.

It designates an R working directory for R session and makes starting new research projects in R easier.

It is a file that needs to be active for R to work.

It is the file extension for R script.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does getwd() do in R?

Displays the path to your current working directory
Lists the contents of the current directory
Sets the working space to the current directory
Sets the path to the current directory

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?