in Education by
Data frames can have additional attributes such as __________ (a) Rowname() (b) Rownames() (c) R.names() (d) D.names() This question was addressed to me at a job interview. I want to ask this question from Data Types topic in division 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 option is (b) Rownames() To explain I would say: Data frames can have additional attributes such as rownames(), which can be useful for annotating data, like subject_id or sample_id. But most of the time they are not used. A data frame is an important data type in R.

Related questions

0 votes
    R objects can have attributes, which are like ________ for the object. (a) metadata (b) features (c) ... Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    By what function we can create data frames? (a) Data.frames() (b) Data.sets () (c) Function () (d) C ... In and Out of R Programming Select the correct answer from above options...
asked Feb 13, 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
    Attributes of an object (if any) can be accessed using the ______ function. (a) objects() (b) attrib() (c ... and Out of R Programming Select the correct answer from above options...
asked Feb 15, 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
    The first component can be accessed using __________ operator. (a) Intraction (b) Extraction (c) AND (d) OR ... Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    ________ 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
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
    An ordered factor is used to represent an __________ (a) Ordinal variable (b) Simple variable (c) Coordinal ... of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
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
    Decimal values are referred as ________ data types in R. (a) Numeric (b) Character (c) Integer (d) Lists ... and Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    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
0 votes
    In R using the function, ________ one can check the data type of vector. (a) Typeof() (b) Castof() (c) ... In and Out of R Programming Select the correct answer from above options...
asked Feb 13, 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
...