[.dfts | R Documentation |
Extract or replace subsets of dfts objects.
## S3 method for class 'dfts'
x[i, j, ...]
## S3 replacement method for class 'dfts'
x[i, j] <- value
x |
A dfts object. See |
i , j |
Numerics for elements to extract. |
... |
Additional parameters from generic function for extensions. |
value |
A suitable replacement value for selection. |
A dfts object.
electricity[1:3]
electricity[1:3, ]
electricity[1:2, 1:4]
electricity[, 1:4]
tmp <- dfts(matrix(1:9, 3, 3))
tmp$data
tmp[1, 1] <- 10
tmp$data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.