Description Usage Arguments Value Author(s) See Also Examples
View source: R/remap.event.reindex.R
Reset value at the beginning of the event window to a 100 and reindex thereon.
1 |
z |
z is a zoo object obtained from
|
Rescaled returns value
Chirag Anand, Vikram Bahure, Vimal Balasubramaniam
1 2 3 4 5 6 7 8 9 10 11 | data(StockPriceReturns)
data(SplitDates)
es.results <- phys2eventtime(z = StockPriceReturns,
events = SplitDates,
width = 5)
es.w <- window(es.results$z.e, start = -5, end = +5)
eventtime <- remap.event.reindex(es.w)
eventtime[as.character(-3:3), ]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.