Extract Special Information from Model Frame

USAGE:
model.extract(frame, component)
frame:
a model frame, the result of calling model.frame()
component:
the name of the information desired. Built-in requests include "response", "weights", and three flavors of predictor matrix, "tree.x", "loess.x", and "lm.x", for the use of the corresponding fitting functions. The last is just a synonym for model.matrix(). Other names are wrapped in parentheses and selected as the corresponding variable of the model frame, following the convention of model.frame() for special= arguments.

VALUE:
the selected variable from the model frame. An important special feature is that the names or row labels of the extracted data are set to the row names of the model frame. This is the mechanism that transmits row names to the fitted values and residuals in model-fitting.

This is normally a support routine for fitting functions, such as lm().