get_coef: Get the nonzero coefficients

Description Usage Arguments Value Author(s)

View source: R/sgl_navigate.R

Description

Extracting nonzero coefficients from list (of lists) of matrices

Usage

1
get_coef(object, index = 1:length(object))

Arguments

object

a list of lists of matrices or a list of matrices

index

indices to be extracted from

Value

a list (of lists) with the nonzero coefficients

Author(s)

Martin Vincent


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