Subsetting-methods | R Documentation |
Operators acting on SeqDataFrames
objects to extract
or replace parts.
## S4 method for signature 'SeqDataFrames'
x[i, j, k, drop = FALSE]
## S4 replacement method for signature 'SeqDataFrames'
x[i, j, k] <- value
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 |
again an object of class SeqDataFrames
with the prescribed indices / values
signature(x = "SeqDataFrames")
:
access method for indices for objects of class SeqDataFrames
signature(x = "SeqDataFrames")
:
replacement method for indices for objects of class SeqDataFrames
"["
s0 <- matrix(1:6,3,2)
d0 <- data.frame(s0)
d1 <- data.frame(s0 + 3)
SF <- SeqDataFrames(d0, d1)
SF[1,2,1]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.