Read elements from an ldat object
# S3 method for ldat
lget(x, ...)
the ldat
to read from
passed on to lget.lvec
.
Returns an ldat
with the selected elements. In order to convert
the selection to an R-vector as_rvec
can e used.
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.