
Vectors, Arrays, and Matrices in R
Flashcard
•
Mathematics
•
University
•
Practice Problem
•
Hard
Dr.J.Hirudhaya Asha
FREE Resource
Student preview

105 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What are the different R variable types?
Back
Integer, numeric (floating-point number), character (string), logical (Boolean), complex.
2.
FLASHCARD QUESTION
Front
How are vectors stored in R?
Back
Vectors are stored like arrays in C, contiguously.
3.
FLASHCARD QUESTION
Front
Can you insert or delete elements in a vector in R?
Back
No, the size of a vector is determined at its creation.
4.
FLASHCARD QUESTION
Front
How do you add an element to the middle of a vector in R?
Back
Use the c() function to combine parts of the vector with the new element.
5.
FLASHCARD QUESTION
Front
What function is used to obtain the length of a vector in R?
Back
The length() function.
6.
FLASHCARD QUESTION
Front
What is the result of the expression length(c(1,2,4))?
Back
3.
7.
FLASHCARD QUESTION
Front
What does the function first1 do?
Back
It returns the index of the first occurrence of the value 1 in a vector.
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
128 questions
Database Fundamentals and ER Model
Flashcard
•
KG
61 questions
Programming Concepts Flashcards
Flashcard
•
KG
63 questions
Friends Global 10 - Unit 1 Feelings and Grammar
Flashcard
•
10th Grade
126 questions
CinemĂ¡tica - FĂsica I
Flashcard
•
4th Grade
101 questions
French Vocabulary Flashcards
Flashcard
•
KG - University
97 questions
Arabic Vocabulary Flashcards
Flashcard
•
KG
121 questions
Legal Studies: Alternative Dispute Resolution (ADR)
Flashcard
•
12th Grade
122 questions
Research Methodology for Business
Flashcard
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade