coef.sgl: Extracting the nonzero coefficients

Description Usage Arguments Value Author(s)

View source: R/sgl_navigate.R

Description

This function returns the nonzero coefficients (that is the nonzero entries of the beta matrices)

Usage

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

Arguments

object

a sgl object

index

indices of the models

parameter

name of the parameter (deafult is 'beta')

...

ignored

Value

a list of with nonzero coefficients of the models

Author(s)

Martin Vincent


sglOptim documentation built on Oct. 21, 2018, 9:04 a.m.