indexing: Indexing of lvec objects

Description Usage Arguments Details

Description

Indexing of lvec objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'lvec'
x[i = NULL, range = NULL]

## S3 replacement method for class 'lvec'
x[i, range] <- value

## S3 method for class 'ldat'
x[i, j, drop = FALSE, range = NULL, clone = TRUE]

## S3 replacement method for class 'ldat'
x[i, range] <- value

Arguments

x

an object of type lvec

i

an index vector. See lget.

range

an range of indices. See lget.

value

new values. See lget.

j

a selection of columns (a character, numeric or logical vector).

drop

ignored; included for compatability with data.frame.

clone

clone columns when selecting only columns.

Details

These functions are a wrapper around lget and lset.


ldat documentation built on March 26, 2020, 7:59 p.m.

Related to indexing in ldat...