in Education by
The ________ stores the nominal values as a vector of integers in the range of 1 to unique values in the nominal variable. (a) Factor (b) Matrix (c) Lists (d) Functions I got this question by my college professor while I was bunking the class. I would like to ask this question from Data Types in portion 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) Factor Easiest explanation: The factor stores the nominal values as a vector of integers in the range [1… k] (where k is the no. of unique values of the nominal variable), and an internal vector of character strings (the original values) mapped to these integers.

Related questions

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
    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
    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
    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
    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
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
    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
    The _________ function returns a list of densities (y) corresponding to bin values (x). (a) Spline (b) ... Out of R Programming Select the correct answer from above options...
asked Feb 15, 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
    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
    ________ 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
    Accessing elements is achieved through a process called ________ (a) Indexing (b) Outdexing (c) Highlighting (d) ... 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 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
...