All, I'm attempting to run this: table.CAPM(series[,"Strat.Return",drop=FALSE],series[,"spy.Return",drop=FALSE])
and getting this error Error in as.vector(data[, i]) : subscript out of bounds I've searched around and cannot find a solution to the problem. I've used this in the past without problem and I'm not sure what I did different this time. Other functions from that package like chat.CumReturns() work OK with this series. CAPM.Beta() does not. You can get the series timeSeries at http://www.pazzula.com/blog/series.rda Thanks in advance. Dominic J. Pazzula +-+-+-+-+-+-+-+-+-+-+- domp...@yahoo.com [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.