1. Home
  2. ASReml-R 4 Commands
  3. levels – Combine factor levels

levels – Combine factor levels


levels forms a new model term from an existing factor by merging a subset of its levels.


Levels(f, x)

f A factor in the data.
x A vector of length length(levels(f)) defining the levels of f to merge. See the combine argument to asreml.
Updated on August 9, 2018

Was this article helpful?

Related Articles