| subset | R Documentation |
datey, durationy or datey_interval vectorsSubsets datey, durationy or datey_interval vectors.
## S3 method for class 'datey'
x[i, ...]
## S3 method for class 'durationy'
x[i, ...]
## S3 method for class 'datey_interval'
x[i, ...]
## S3 replacement method for class 'datey'
x[i] <- value
## S3 replacement method for class 'durationy'
x[i] <- value
## S3 replacement method for class 'datey_interval'
x[i] <- value
x |
A |
i |
Indices to extract. |
... |
Other arguments. |
value |
Value to assign. |
The subset.
datey, durationy, datey_interval, combine
x <- datey(2001:2004)
x
x[2:3]
x[2:3] <- datey(1999)
x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.