window | R Documentation |
Extract a part from a "timeSeries"
object.
## S4 method for signature 'timeSeries'
window(x, start, end, ...)
x |
an object of class |
start, end |
starting date and end date, |
... |
arguments passed to other methods. |
window
extracts the subset of the "timeSeries"
object
x
observed between the times start
and end
.
head
,
outlier
## Load LPP Benchmark Returns -
x <- LPP2005REC[, 7:9]
range(time(x))
## Extract Data for January 2006 -
window(x, "2006-01-01", "2006-01-31")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.