naresid {MASS} | R Documentation

## Adjust for Missing Values

### Description

Use missing value information to adjust residuals and predictions.

### Usage

    naresid(omit, object)
    naresid.omit(omit, object)
    naresid.default(omit, object)
    napredict(omit, object)
    napredict.omit(omit, object)
    napredict.default(omit, object)

### Arguments

`omit` | An object produced by an `na.action` function.
`object` | A vector, data frame, or matrix to be adjusted based upon the missing value information.

### Details

Currently these functions do nothing. They are provided to enable other functions to be written in ways compatible with the code in S-PLUS 2000 which does use these for the `na.exclude` action to pad the object with `NA`s in the correct positions to have the same number of rows as the original data frame.

### Value

These return `object`.