coef.gic.DMR {DMRnet}R Documentation

coef.gic.DMR

Description

Extracts coefficients from a gic.DMR object (for the model with minimal gic).

Usage

## S3 method for class 'gic.DMR'
coef(object, ...)

Arguments

object

Fitted gic.DMR object.

...

Further arguments passed to or from other methods.

Details

Similar to other coef methods, this function extracts coefficients from a fitted gic.DMR object for the model with minimal gic.

Value

Vector of coefficients.

Examples

data(miete)
y <- miete[,1]
X <- miete[,-1]
m <- DMR(X, y)
g <- gic.DMR(m, c = 2.5)
coef(g)

[Package DMRnet version 0.4.0 Index]