Learn R Programming

sglOptim (version 1.3.8)

features_stat.sgl: Extract feature statistics

Description

Extracts the number of nonzero features (or group) in each model.

Usage

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

Arguments

object

an object

...

ignored

Value

a vector of length nmod(x) or a matrix containing the number of nonzero features (or group) of the models.