The four most frequently used types of data objects in R are vectors, matrices, data frames and ________
a) Function
b) Lists
c) Packages
d) Interfaces
Q.2.
A __________ is a set of elements appearing in rows and columns where the elements are of the same mode whether they are logical, numeric (integer or double), complex or character.
a) Vector
b) Matrix
c) Lists
d) Data frames
Q.3.
What is the simplest way of creating the vector?
a) C function
b) Create
c) Destroy
d) Invalid
Q.4.
Which function replicates elements of vectors?
a) C
b) Rep
c) Crep
d) Grep
Q.5.
The ________ function creates a regular sequence of values to form a vector.
a) sequel
b) Rep
c) seq
d) Grep
Q.6.
Which function is used to enter in data at the terminal?
a) Scanned
b) Scnn
c) Scan
d) Sccn
Q.7.
Computation with vectors is achieved using an element-by-element operation for avoiding _________
a) Loops
b) Functions
c) Packages
d) Interfaces
Q.8.
To bind a row onto an already existing matrix, the ______ function can be used.
a) Rbind
b) Sbnd
c) Gbind
d) Sbind
Q.9.
Which of the following is a 3-dimensional dataset?
a) Eris
b) Iris
c) Toris
d) Iris
Q.10.
Which dimension corresponds to the explanatory variables collected for each species?
a) First
b) Second
c) Third
d) Fifth
Q.11.
Using the ________ vector, we create a species factor and bind it to the columns of iris.df.
a) snames
b) rnames
c) jnames
d) fnames
Support mcqgeeks.com by disabling your adblocker.
Please disable the adBlock and continue. Thank you.