R quiz

R quiz

Professional Development

31 Qs

quiz-placeholder

Similar activities

D49 QUIZ OF THE DAY

D49 QUIZ OF THE DAY

Professional Development

30 Qs

D40 QUIZ OF THE DAY

D40 QUIZ OF THE DAY

Professional Development

30 Qs

beauty supplements

beauty supplements

Professional Development

35 Qs

Java Practice Quiz

Java Practice Quiz

Professional Development

30 Qs

PLSQL QUIZZ

PLSQL QUIZZ

Professional Development

30 Qs

Test Your Knowledge - Trainer's Test - Level - 2

Test Your Knowledge - Trainer's Test - Level - 2

Professional Development

30 Qs

Ivy: Loreto College - Python Final Assessment

Ivy: Loreto College - Python Final Assessment

Professional Development

26 Qs

Home Phone (FFH)

Home Phone (FFH)

Professional Development

32 Qs

R quiz

R quiz

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

Vignesh Raja

Used 1+ times

FREE Resource

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way to create a numeric vector in R?

c(1, 2, 3)

c[1,2,3]

vector[1, 2, 3]

vector(1,2,3)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the result of the following expression?

typeof(3L)

"double"

"integer"

"numeric"

"logical"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of this code?

x <- c(TRUE, FALSE, TRUE)

sum(x)

3

2

1

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to check the structure of an R object?

summary()

structure()

class()

str()

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Write R code to assign the value 5 to a variable named

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to create a bar plot in R?

barplot()

barchart()

bar()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of mean(c(2, 4, 6, NA), na.rm = TRUE)?

4

NA

3

Error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?