Learn R Programming

DMRnet (version 0.4.0)

coef.gic.DMR: coef.gic.DMR

Description

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

Usage

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

Value

Vector of coefficients.

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.

Examples

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

Run the code above in your browser using DataLab