na.method {asreml} | R Documentation

## Missing value action for asreml dataframes.

### Description

Function to deal 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`.

[Package asreml version 4.1.0.176 Index]