Hi R,

 

I want to do some rolling correlations. But before, I searched for
"?rollingCorrelation" and tried the example in it. But I was not
successful. What could be the problem? Here is the code I tried:

 

> library(zoo)

> library(PerformanceAnalytics)

> rollingCorrelation([EMAIL PROTECTED],1],[EMAIL PROTECTED],n=12)

Error in inherits(object, "zoo") : object "manager.ts" not found

 

 

BR, Shubha


        [[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.

Reply via email to