Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Which function takes a dim attribute which creates the required number of dimensions?
Home
Education
Which function takes a dim attribute which...
asked
Feb 13, 2022
in
Education
by
JackTerrance
Which function takes a dim attribute which creates the required number of dimensions? (a) Vector (b) Array (c) Matrix (d) Lists I have been asked this question at a job interview. This interesting question is from Data Types in portion Nuts and Bolts and Getting Data In and Out of R Programming Select the correct answer from above options
r
programming
n
1
Answer
0
votes
answered
Feb 13, 2022
by
JackTerrance
Best answer
The correct option is (b) Array Easy explanation: The array function takes a dim attribute which creates the required number of dimensions. While matrices are confined to two dimensions, arrays could be of any number of dimensions.
Related questions
0
votes
Q: The ________ function creates a regular sequence of values to form a vector.
The ________ function creates a regular sequence of values to form a vector. (a) sequel (b) Rep (c) seq (d ... and Out of R Programming Select the correct answer from above options...
asked
Feb 12, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: ________ are similar to matrices but can have more than two dimensions.
________ are similar to matrices but can have more than two dimensions. (a) Functions (b) Packages (c) Arrays ... Out of R Programming Select the correct answer from above options...
asked
Feb 15, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Which of the following can be considered as object attribute?
Which of the following can be considered as object attribute? (a) dimensions (b) class (c) length (d) all ... and Out of R Programming Select the correct answer from above options...
asked
Feb 12, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Which are indexed by either row or column using a specific name or number?
Which are indexed by either row or column using a specific name or number? (a) Datasets (b) Data frames (c ... and Out of R Programming Select the correct answer from above options...
asked
Feb 13, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: The length of a list is ______ to the number of components in that list.
The length of a list is ______ to the number of components in that list. (a) Double (b) Equal (c) Triple ... and Out of R Programming Select the correct answer from above options...
asked
Feb 12, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Which function is used to combine the elements into a vector?
Which function is used to combine the elements into a vector? (a) C() (b) D() (c) E() (d) F() I ... Data In and Out of R Programming Select the correct answer from above options...
asked
Feb 15, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Lists can be coerced with which function?
Lists can be coerced with which function? (a) As.lists (b) Has.lists (c) In.lists (d) Co.lists The ... In and Out of R Programming Select the correct answer from above options...
asked
Feb 15, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Which function can be used to determine the names assigned to a list?
Which function can be used to determine the names assigned to a list? (a) Names (b) Name (c) Nam (d) ... In and Out of R Programming Select the correct answer from above options...
asked
Feb 13, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Which function gives the list as output?
Which function gives the list as output? (a) Spline (b) Matrix (c) Vector (d) Alphabet I have been asked ... and Out of R Programming Select the correct answer from above options...
asked
Feb 13, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Which function is used to enter in data at the terminal?
Which function is used to enter in data at the terminal? (a) Scanned (b) Scnn (c) Scan (d) Sccn I have ... In and Out of R Programming Select the correct answer from above options...
asked
Feb 13, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Which function replicates elements of vectors?
Which function replicates elements of vectors? (a) C (b) Rep (c) Crep (d) Grep I have been asked this ... and Out of R Programming Select the correct answer from above options...
asked
Feb 13, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: To bind a row onto an already existing matrix, the ______ function can be used.
To bind a row onto an already existing matrix, the ______ function can be used. (a) Rbind (b) Sbnd (c) ... and Out of R Programming Select the correct answer from above options...
asked
Feb 15, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Locator function gives output as ___________
Locator function gives output as ___________ (a) Matrix (b) Lists (c) Vector (d) Number I had been asked this ... Out of R Programming Select the correct answer from above options...
asked
Feb 15, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Factors are created using the _______ function.
Factors are created using the _______ function. (a) C() (b) Function() (c) Array() (d) Lists() I got ... In and Out of R Programming Select the correct answer from above options...
asked
Feb 15, 2022
in
Education
by
JackTerrance
r
programming
n
0
votes
Q: Joining two lists can be achieved either using the _________ function.
Joining two lists can be achieved either using the _________ function. (a) Concat (b) Join (c) Reduce (d) ... and Out of R Programming Select the correct answer from above options...
asked
Feb 15, 2022
in
Education
by
JackTerrance
r
programming
n
...