## Factors in R

In this tutorial you will learn about the how to create factor variables, ordered factor variables, factor variable from numerical data and generale factor levels in R. Factors in R In R factors are used for handling categorical variables (Nominal or Ordinal). Factors are the variables which take on finite number of different values. The …