Extract.l1celist {lasso2}R Documentation

Extract Parts of a ‘l1celist’ Object

Description

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

Usage

## 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.


[Package lasso2 version 1.2-20 Index]