nonzero: return selected variables

Description Usage Arguments Value See Also

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 2, 2019, 2:31 p.m.