Subsetting-methods {distrSim} | R Documentation |
Subsetting/Indexing methods for SeqDataFrames objects in Package ‘distrSim’
Description
Operators acting on SeqDataFrames
objects to extract
or replace parts.
Usage
## 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 |
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 classSeqDataFrames
- "[<-"
signature(x = "SeqDataFrames")
: replacement method for indices for objects of classSeqDataFrames
See Also
Examples
s0 <- matrix(1:6,3,2)
d0 <- data.frame(s0)
d1 <- data.frame(s0 + 3)
SF <- SeqDataFrames(d0, d1)
SF[1,2,1]
[Package distrSim version 2.8.2 Index]