Accessor functions for dr objects.

dr.x(object)
dr.y(object)
dr.z(object)

Arguments

object

An object that inherits from dr.

Value

Returns a component of a dr object. dr.x returns the predictor matrix reduced to full rank by dropping trailing columns; dr.y returns the response vector/matrix, and dr.z returns the centered and scaled predictor matrix.

Author

Sanford Weisberg, <[email protected]>

See also