timeSeries (version 3022.101.2)

window: window

Description

Extracts a part from a 'timeSeries Object

Arguments

Examples

Run this code
## Load LPP Benchmark Returns -
   x <- LPP2005REC[, 7:9]
   range(time(x))
  
## Extract Data for January 2006 - 
   window(x, "2006-01-01", "2006-01-31")

Run the code above in your browser using DataLab