...

/

Factors

Factors

Here we are going to learn about R factors: how to create them and where they are used.

A Factor is an interesting data structure in R language used to categorize data. By categorizing data, we mean fields that take only predefined, a limited, or finite number of values (categorical variables).

For example, the marital status of a person can be one of the following:

  • Single
...