in Education by
___________ provides optional labels with the columns and rows. (a) Disnames (b) Dimnames (c) Denmes (d) Demnesd This question was addressed to me during an online interview. I'd like to ask this question from Data Types topic in chapter Nuts and Bolts and Getting Data In and Out of R Programming Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Right answer is (b) Dimnames The explanation is: byrow=TRUE indicates that the matrix should be filled by rows. byrow=FALSE indicates that the matrix should be filled by columns (the default). dimnames provides optional labels with the columns and rows.

Related questions

0 votes
    A __________ is a set of elements appearing in rows and columns where the elements are of the same mode whether ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    All columns in a matrix must have the same mode and the _________ length. (a) Different (b) Same (c) May ... and Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Using the ________ vector, we create a species factor and bind it to the columns of iris.df. (a) snames (b ... and Out of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    Which is more general than a matrix, in that different columns can have different modes? (a) Data types (b) ... Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    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
0 votes
    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
0 votes
    What should we use to access elements with a value greater than five? (a) Subsetting commands (b) Use ... Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Computation with vectors is achieved using an element-by-element operation for avoiding _________ (a) Loops (b) ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    vectors can be one of two types namely atomic vectors and _______ (a) Matrix (b) Vector (c) Lists (d) ... and Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    The four most frequently used types of data objects in R are vectors, matrices, data frames and ________ (a) ... Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    On what basis of a variable, OS allocates memory and decides what can be stored in the reserved memory? (a) ... Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    An ordered collection of objects or components are called ________ (a) Data frames (b) Datasets (c) Databases ( ... of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    The ________ stores the nominal values as a vector of integers in the range of 1 to unique values in the ... Out of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    A __________ is an R-object which can contain many different types of elements inside it. (a) Vector (b) ... Out of R Programming Select the correct answer from above options...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    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
...