powered by
Extract or replace subsets of dfts objects.
# S3 method for dfts [(x, i, j, ...)# S3 method for dfts [(x, i, j) <- value
# S3 method for dfts [(x, i, j) <- value
A dfts object.
A dfts object. See dfts().
dfts()
Numerics for elements to extract.
Additional parameters from generic function for extensions.
A suitable replacement value for selection.
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
Run the code above in your browser using DataLab