search for: tsselections

Displaying 1 result from an estimated 1 matches for "tsselections".

Did you mean: selections
2009 Jul 10
0
Error when running the examples in plotMultiTS / QRMlib
...ary(tseries) library(wmtsa) library(waveslim) library(brainwaver) library(timeSeries) library(QRMlib) > ?plotMultiTS > data(DJ); > Sdata <- window(DJ, from="1993-01-01", to="2000-12-31"); > #select only 4 stocks from 30-stock index: > tsSelections <- c("GE","INTC","KO","JNJ"); > Sdata <- Sdata[,tsSelections]; Error in .subset(x, i, j, drop = FALSE) : object of type 'S4' is not subsettable > Zdata <- log(Sdata); > rm(Sdata); > #Plot all 4 columns on sam...