nonzero: return selected variables

Description Usage Arguments Value See Also

View source: R/nonzero.R

Description

nonzero is a generic function for returning the set of variables selected by a model

Usage

1
nonzero(object, ...)

Arguments

object

a model object for which the set of selected variables is desired

...

additional arguments, e.g. tuning parameters

Value

The form of the value returned by nonzero depends on the class of its argument. See the documentation of the particular methods for details of what is produced by that method.

See Also

nonzero.customizedGlmnet, nonzero.singleton


customizedTraining documentation built on May 30, 2017, 5:20 a.m.