predict.mvdareg
produces predicted values, obtained by evaluating the regression function in the frame newdata (which defaults to model.frame(object). If newdata
is omitted the predictions are based on the data used for the fit.
If comps
is missing (or is NULL), predictions of the number of latent variables is provided. Otherwise, if comps
is given parameters for a model with only the requested components is returned. The generic function residuals
return the model residuals for all the components specified for the model. If the model was fitted with na.action = na.exclude (or after setting the default na.action to na.exclude
with options), the residuals corresponding to excluded observations are returned as NA; otherwise, they are omitted.