Extract.l1celist: Extract Parts of a 'l1celist' Object

Description Usage Arguments Value

Description

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

Usage

1
2
3
4
## S3 method for class 'l1celist'
x[..., drop = TRUE]
## S3 method for class 'l1celist'
x[[..., drop = TRUE]]

Arguments

x

an object inheriting from class "l1celist".

...

a specification of indices – see Extract.

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.


lasso2 documentation built on Oct. 8, 2021, 9:10 a.m.