dr.y {dr} | R Documentation |
Generic function to return the response for a 'dr' fit.
dr.y(object)
object |
A 'dr' object |
This returns the response variable for a 'dr' fit. For most, dr methods, this is just the response as specified in the call to 'dr.' For phd and phdres, this returns the residuals from the OLS regression of the original response on the design matrix. For 'phdy', it returns the response minus its mean.
A vector.
Sanford Weisberg, sandy@stat.umn.edu
~~objects to See Also as dr
.
##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index) for the standard data sets. ## The function is currently defined as function(object) {UseMethod("dr.y")}