(Builds on: String basics)
Factors are similar to strings, but are used for data that has a fixed and known set of possible values. They are needed for modelling, and are useful for tweaking visualisations.
Introduction [r4ds-15.1]
Modifying factor order [r4ds-15.4]
Modifying factor levels [r4ds-15.5]