dr.y {dr}R Documentation

~~function to do ... ~~

Description

Generic function to return the response for a 'dr' fit.

Usage

dr.y(object)

Arguments

object A 'dr' object

Details

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.

Value

A vector.

Author(s)

Sanford Weisberg, sandy@stat.umn.edu

See Also

~~objects to See Also as dr.

Examples

##---- 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")}

[Package dr version 2.0.4 Index]