nonzero {customizedTraining}R Documentation

return selected variables

Description

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

Usage

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


[Package customizedTraining version 1.2 Index]