Description
The na.method function deals with missing values in the data
argument to asreml
. “include
” retains NAs
in the data, “omit
” drops records with NAs
and “fail
” raises an exception if NAs
are present.
Usage
na.method(y = c("include", "omit", "fail"), x = c("fail", "include", "omit"))
Arguments
y |
Action to take if there are missing values in the response; default is “include “. |
x |
Action to take if missing values are present in covariates; default is “fail “. |
Value
A list with components x
and y
.