naExcludeMvr {pls} | R Documentation |
Use missing value information to adjust residuals and predictions.
This is the ‘mvr equivalent’ of the naresid.exclude
and
napredict.exclude
functions.
naExcludeMvr(omit, x, ...)
omit |
an object produced by an |
x |
a three-dimensional array to be adjusted based upon the
missing value information in |
... |
further arguments. Currently not used. |
This is a utility function used to allow predict.mvr
and
residuals.mvr
to compensate for the removal of NA
s in
the fitting process.
It is called only when the na.action
is na.exclude
, and
pads x
with NA
s in the correct positions to have the
same number of rows as the original data frame.
x
, padded with NA
s along the first dimension
(‘rows’).
Bjørn-Helge Mevik and Ron Wehrens
predict.mvr
, residuals.mvr
,
napredict
, naresid