getModels function

Utility Function for RRPP

Utility Function for RRPP

A function mostly for internal processing but can be used to obtain terms, design matrices, or QR decompositions used for each reduced or full model that is fitted in an lm.rrpp fit.

getModels(fit, attribute = c("terms", "X", "qr", "all"))

Arguments

  • fit: Object from lm.rrpp
  • attribute: The various attributes that are used to extract RRPP Model information, including "terms", "X" (design matrices), "qr" (QR decompositions), or "all".

Author(s)

Michael Collyer