lget.ldat: Read elements from an ldat object

View source: R/lget_ldat.R

lget.ldatR Documentation

Read elements from an ldat object

Description

Read elements from an ldat object

Usage

## S3 method for class 'ldat'
lget(x, ...)

Arguments

x

the ldat to read from

...

passed on to lget.lvec.

Details

Indexing using index should follow the same rules as indexing a regular data.frame using a logical or numeric index. The range given by range includes both end elements. So, a range of c(1,3) selects the first three elements.

Value

Returns an ldat with the selected elements. In order to convert the selection to an R-vector as_rvec can e used.


djvanderlaan/lvec_stats documentation built on Oct. 4, 2022, 7:02 p.m.