Google News
logo
R - Quiz(MCQ)
The ________ stores the nominal values as a vector of integers in the range of 1 to unique values in the nominal variable.
A)
Lists
B)
Factor
C)
Matrix
D)
Functions

Correct Answer :   Factor


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.

Advertisement