
R quiz
Authored by Vignesh Raja
Professional Development
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
28 questions
QUETIONING & FEEDBACK
Quiz
•
Professional Development
28 questions
FRANQUEO
Quiz
•
Professional Development
36 questions
Пробный тест
Quiz
•
Professional Development
26 questions
Microsoft Word Quiz
Quiz
•
Professional Development
26 questions
Examen Método Van Laere®
Quiz
•
Professional Development
30 questions
SGS - I AM SOLITAIRE
Quiz
•
Professional Development
27 questions
M11 UF2 NF1- Política de producte
Quiz
•
Professional Development
34 questions
Module 9 - Surface Grinding
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade