
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
Are you an innovative teacher?
Quiz
•
Professional Development
27 questions
Generación de energía
Quiz
•
Professional Development
28 questions
Transmission and Driveline
Quiz
•
Professional Development
27 questions
Expediente clínico, anestesia, rotatorios
Quiz
•
Professional Development
26 questions
İnklüziv təhsil
Quiz
•
Professional Development
27 questions
FISIOPAT.- T3. Sistema inmune
Quiz
•
Professional Development
26 questions
Le Grand Quizz du Formateur !
Quiz
•
Professional Development
26 questions
Anatomy Nervous system
Quiz
•
Professional Development
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
