
R Programming for Statistics and Data Science - Data Types in R - Integers and Doubles
Interactive Video
•
Information Technology (IT), Architecture, Mathematics
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a vector in R?
A type of loop in R
A sequence of data elements of the same type
A function in R
A single data element
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you check if an object is a vector in R?
By checking the environment
By using the 'typeof()' function
By printing the object
Using the 'is.vector()' function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do you need to use 'L' when creating integer vectors in R?
To make the numbers lowercase
To indicate that the numbers are logical
To specify that the numbers are large
To ensure R treats the numbers as integers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default data type for numbers in R?
Integer
Character
Logical
Double
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function can you use to list all objects in your R environment?
list()
objects()
ls()
env()
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?