in Education by
In R using the function, ________ one can check the data type of vector. (a) Typeof() (b) Castof() (c) Function() (d) C() I had been asked this question in unit test. Question is taken from Data Types 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 choice is (a) Typeof() Best explanation: In R using the function, typeof() one can check the data type of vector. Vector is a basic data structure in R which contains element of similar type. These data types in R can be logical, integer, double, character, complex and also raw.

Related questions

0 votes
    The data type of the R-object becomes the data type of the ________ (a) Functions (b) Packages (c) Variables ... Out of R Programming Select the correct answer from above options...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    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
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
    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
    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
    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
    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
    Which is the basic data structure of R containing the same type of data? (a) Functions (b) Array (c) ... 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
    Factors are the r-objects which are created using a _________ (a) Vector (b) Matrix (c) Lists (d) Array ... and Out of R Programming Select the correct answer from above options...
asked Feb 15, 2022 in Education by JackTerrance
0 votes
    Density function gives output as ________ (a) Matrix (b) Lists (c) Vector (d) Number This question was posed ... Out of R Programming Select the correct answer from above options...
asked Feb 15, 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
    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
    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
    What is the simplest way of creating the vector? (a) C function (b) Create (c) Destroy (d) Invalid The ... and Out of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
...