Factors in R
Factors
Factors are used to represent categorical data such as gender or country.
r
factor_example <- factor(c("Male","Female","Male"))
print(factor_example)
Next Tutorial: Subsetting Data

