Hi,

I am  a new user to R.

I am using strucchange to generate breakpoints:
--------------------------------------------------------------------------------------
> res <- gbreakpoints(GDP.new ~ 1,data=a,h=2,breaks=5)
> print(res)

     Optimal 6-segment partition for `lm' fit:

Call:
gbreakpoints(formula = GDP.new ~ 1, data = a, h = 2, breaks = 5)

Breakpoints at observation number:
10 19 25 38 48

Corresponding to breakdates:
1960 1969 1975 1988 1998
--------------------------------------------------------------------------------------
I want to access the breakdates.

I can access the breakpoints by: res[[1]]

I wish to access breakpoints dates but still struggling. I hope get some
help.

Thanks in advance.

Regards
Vikram

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