factor(x = character(), levels, labels = levels, exclude = NA, ordered = is.ordered(x), nmax = NA)
Run ?factor or see the documentation online.
An object with class factor is a vector with a particular set of characteristics.
It is stored internally as an integer vector.
It maintains a...