Levels {asreml}R Documentation

Combine factor levels

Description

Function that forms a new model term from an existing factor by merging a subset of its levels. See the combine argument to asreml.

Usage

Levels(f, x)

Arguments

f

A factor in the data.

x

A vector of length length(levels(f)) defining the levels of f to merge.


[Package asreml version 4.2.0.480 Index]