in Education by
Attributes of an object (if any) can be accessed using the ______ function. (a) objects() (b) attrib() (c) attributes() (d) obj() This question was addressed to me during an interview. The doubt is 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
The correct choice is (c) attributes() Explanation: Not all R objects contain attributes, in which case the attributes() function returns NULL.

Related questions

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
    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
    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
0 votes
    First component of the list can be accessed by _____________ (a) Name of the component (b) List name (c) ... Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Data frames can have additional attributes such as __________ (a) Rowname() (b) Rownames() (c) R.names() ( ... and Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    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
0 votes
    Lists can be created using the _______ function. (a) Matrix.li (b) Matrix.lists (c) Lists.matric (d) List ... 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
    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
    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
    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
    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
0 votes
    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
0 votes
    A data frame is a special type of list where every element of the list has ______ length. (a) Same (b) ... and Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    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
...