In R, the ________ data type is used to store categorical data.

  • Character
  • Complex
  • Factor
  • Logical
Factors are the data objects which are used to categorize the data and store it as levels. They can store both strings and integers. They are useful in data analysis for statistical modeling.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *