Which data structure is used to store categorical variables?
Answer Posted / Arun Kumar Shukla
In R, factors are the primary data structure used to store categorical variables. Factors consist of a series of unique levels and corresponding integers (the factor levels are encoded as integers for more efficient storage).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers