Extracts a subset of a bts
object x
observed between the
dates start
and end
.
# S3 method for class 'bts'
window(x, start, end, extend = FALSE, ...)
Arguments
- x
A bts
object.
- start, end
Objects coerced into a Date
giving the start
and end.
- extend
Logical. If TRUE
, the ‘start’ and ‘end’
values are allowed to extend the series. If TRUE
, attempts
to extend the series give an error.
- ...
Not used