[.l1celist {lasso2}R Documentation

Subscript a 'l1celist' Object

Description

Allows the user to extract values from a l1celist object by using subscripts.

Usage

x[i, drop]
x[[i]]

Arguments

x an object inheriting from class "l1celist".
i subscripts applying to elements (fitted models) in the list.
drop logical defaulting to TRUE. If only one model is subscribed, then it is returned as an object of class "l1ce". If drop=F, then an object of class "l1celist" is always returned.

Value

an object of class "l1celist" or class "l1ce" extracted from the original list.


[Package lasso2 version 1.2-0 Index]