Hi, I am new to R. I am using strucchange to get the breakpoints in time series dataset. So the problem I am facing is: I want to link the result generated by the breakpoints to further analysis (for eg. generating volatility for each group). The result is in following form:
--------------------------------------- > res <- gbreakpoints(GDP.new ~ 1,data=a,h=2,breaks=6) > res Optimal 7-segment partition for `lm' fit: Call: gbreakpoints(formula = GDP.new ~ 1, data = a, h = 2, breaks = 6) Breakpoints at observation number: 10 19 25 33 44 53 Corresponding to breakdates: 1960 1969 1975 1983 1994 2003 --------------------------------------- It would be helpful if you can throw some light on how to access the data stored in the breakpoints result instead of manually accessing it. Regards Vikram Bahure [[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.