Learn R Programming

customizedTraining (version 1.3)

nonzero: Return selected variables

Description

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

Usage

nonzero(object, ...)

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.

Arguments

object

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

...

additional arguments, e.g. tuning parameters