subsetting-methods: Subsetting/Indexing methods for SeqDataFrames objects in...

Description Usage Arguments Value Methods See Also Examples

Description

Operators acting on SeqDataFrames objects to extract or replace parts.

Usage

1
2
3
4
5
## S4 method for signature 'SeqDataFrames'
x[i, j, k, drop = FALSE]

## S4 replacement method for signature 'SeqDataFrames'
x[i, j, k] <- value

Arguments

x

object of class SeqDataFrames from which to extract element(s) or in which to replace element(s).

i

observation index; may be missing

j

observation dimension index; may be missing

k

run index; may be missing

drop

as in the general indexing functions

value

modification to be assigned to

Value

again an object of class SeqDataFrames with the prescribed indices / values

Methods

"["

signature(x = "SeqDataFrames"): access method for indices for objects of class SeqDataFrames

"[<-"

signature(x = "SeqDataFrames"): replacement method for indices for objects of class SeqDataFrames

See Also

"["

Examples

1
2
3
4
5
s0 <- matrix(1:6,3,2)
d0 <- data.frame(s0)
d1 <- data.frame(s0 + 3)
SF <- SeqDataFrames(d0, d1)
SF[1,2,1]

distrSim documentation built on May 2, 2019, 6:50 p.m.