Learn R Programming

pls (version 2.1-0)

naExcludeMvr: Adjust for Missing Values

Description

Use missing value information to adjust residuals and predictions. This is the mvr equivalent of the naresid.exclude and napredict.exclude functions.

Usage

naExcludeMvr(omit, x, ...)

Arguments

Value

  • x, padded with NAs along the first dimension (rows).

Details

This is a utility function used to allow predict.mvr and residuals.mvr to compensate for the removal of NAs in the fitting process.

It is called only when the na.action is na.exclude, and pads x with NAs in the correct positions to have the same number of rows as the original data frame.

See Also

predict.mvr, residuals.mvr, napredict, naresid