
R quiz
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Easy
Vignesh Raja
Used 1+ times
FREE Resource
Enhance your content in a minute
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?
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
27 questions
Carmelita AY Bible game
Quiz
•
5th Grade - Professio...
30 questions
UF0521
Quiz
•
Professional Development
26 questions
Faits, opinions et sentiments
Quiz
•
Professional Development
31 questions
Training Quiz AU480 A
Quiz
•
Professional Development
26 questions
EPI. T1-2.- Demografía y epidemiología
Quiz
•
Professional Development
27 questions
EDSO.- T3-4. Fuentes de info. Técn. invest. social
Quiz
•
Professional Development
27 questions
Resumo de atividade em sala
Quiz
•
Professional Development
27 questions
NEGOTIATION ASSOCIATE (NCN-A™) 27 JUSTIFICADAS
Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
