COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Date
|
|
Tibble
|
|
Factor
|
|
Integer
|
Detailed explanation-1: -There are four primary types of atomic vectors: logical, integer, double, and character (which contains strings). Collectively integer and double vectors are known as numeric vectors21. There are two rare types: complex and raw.
Detailed explanation-2: -Integer vectors exist so that data can be passed to C or Fortran code which expects them, and so that (small) integer data can be represented exactly and compactly.
Detailed explanation-3: -R has six basic (’atomic’) vector types: logical, integer, real, complex, string (or character) and raw. The modes and storage modes for the different vector types are listed in the following table.
Detailed explanation-4: -The four most important types of atomic vector are logical, integer, double, and character.