1. Home
  2. ASReml-R 4 Commands
  3. subset – Subset a factor

subset – Subset a factor

Description

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

Usage

Subset(f, x)

Arguments
f A factor in the data
x A character or numeric vector of levels to select. See the prune argument to asreml.
Updated on June 22, 2021

Was this article helpful?

Related Articles