in Education by
Lists can be coerced with which function? (a) As.lists (b) Has.lists (c) In.lists (d) Co.lists The question was asked in exam. The query 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 answer is (a) As.lists To explain: Lists are sometimes called generic vectors because the elements of a list can be of any type of R object, even lists containing further lists. This property makes them fundamentally different from other atomic vectors. Create lists using list() and coerce other objects using as.list().

Related questions

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
    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
    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
    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
    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
    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
    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
    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
0 votes
    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
0 votes
    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
0 votes
    Which function takes a dim attribute which creates the required number of dimensions? (a) Vector (b) Array (c) ... Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    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
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
    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
...