Indexing for siglists

Share:

Description

Get or set a subset of a siglist.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'siglist'
x[i, ...]

## S3 method for class 'siglist'
x[[i, ...]]

## S3 replacement method for class 'siglist'
x[...] <- value

## S3 replacement method for class 'siglist'
x[[...]] <- value

Arguments

x

A siglist object.

i

An integer vector index.

...

Passed from other index methods.

value

A value to set the subset to.

Value

A siglist.

See Also

Extract

Examples

1
2
3
methods_sigs <- list_sigs(pkg2env(methods))
methods_sigs[1:5]
methods_sigs[[1]]