coef: Methods for Function 'coef' in Package 'MRSP'

Description Usage Arguments Details Value Author(s) Examples

Description

Extract the regression coefficients from an object of class MRSP.

Usage

1
2
## S4 method for signature 'MRSP'
coef(object, type=c("original", "standardized", "prethreshold"), simplify=TRUE, ...)

Arguments

object

Object of class MRSP.

type

Character string specifying the type of coefficients to extract from object.

simplify

Logical: should the output be simplified?

...

Not used here.

Details

Depending on argument type, the regression coefficients belonging to the original covariates or those belonging to standardized covariates are returned. For type="prethreshold", the regression coefficients prior to (potential) thresholding (and a potential backtransformation from standardized to original scale) are returned. type is found by a call to match.arg.

Depending on arguments standardize and threshold in the call to MRSP that created object, the output of this function might be identical for different choices of type.

If simplify=TRUE, the coefficient object is returned via invisible and its actual content is printed in structured and concise fashion.

Value

An object of class MRSP.coef. Depending on simplify, information about the coefficients is printed.

Author(s)

Wolfgang Poessnecker

Examples

1
## see the examples in ?MRSP

MRSP documentation built on May 29, 2017, 11:36 a.m.

Related to coef in MRSP...