Learn R Programming

sglOptim (version 1.0.122.0)

coef.sgl: Extracting the nonzero coefficients

Description

Extracting the nonzero coefficients

Usage

## S3 method for class 'sgl':
coef(object, index = 1:nmod(object), ...)

Arguments

object
a sgl object
index
indices of the models
...
not used

Value

  • a list of with nonzero coefficients of the models