coef.l1ce {lasso2}R Documentation

Coefficients of an ‘l1ce’ Object

Description

This is a method for coef() for objects inheriting from class l1ce. See coef for the general behavior of this function and for the interpretation of object.

Usage

## S3 method for class 'l1ce'
coef(object, all=TRUE, constrained=FALSE, ...)

Arguments

object

an object of class l1ce, see help on l1ce.object.

all

logical; if false, then only the non-zero coefficients are returned.

constrained

logical; if true, then only the coefficients that were constrained are returned.

...

possibly further arguments (none at the moment).


[Package lasso2 version 1.2-20 Index]