Learn R Programming

sglOptim (version 1.3.8)

features.sgl: Extracting nonzero features

Description

Extract the nonzero features of the fitted models

Usage

# S3 method for sgl
features(object, ...)

Arguments

object

a sgl object

...

ignored

Value

a list of vectors containing the nonzero features (that is nonzero columns of the \(beta\) matrices)