Learn R Programming

dr (version 2.0.4)

dr.x: Accessor functions for dr. objects

Description

~~ A concise (1-5 lines) description of what the function does. ~~

Usage

dr.x(object)
dr.wts(object) 
dr.qr(object)
dr.Q(object)
dr.R(object)
dr.z(object) 
dr.y.name(object)

Arguments

object
An object that inherits from 'dr'.

Value

  • Returns a component of a dr object. For example, 'dr.qr' returns object$qr, 'dr.wts' returns object$weights, 'dr.Q' returns the Q component of object$qr, 'dr.z' returns the scaled and centered design matrix.

See Also

~~objects to See Also as dr.

Examples

Run this code
##---- 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) {object$x}

Run the code above in your browser using DataLab