Working with factor variables

Factors are categorical variables (nominal or ordinal/ordered. Factors cannot be used in computation (you cannot compute e.g. the mean of such a variable). Factors can be numeric or string variables and can have a levels (label) attribute

Related documents