indexing: Indexing of lvec objects

[.lvecR Documentation

Indexing of lvec objects

Description

Indexing of lvec objects

Usage

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


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