Re: [R] strucchange Graph By Week and xts error

2019-03-06 Thread Achim Zeileis
= 0.05, code = 3) Above, the $confint is a vector. If it is a matrix (due to more than one breakpoint) the code needs to be tweaked to make cix also a matrix and then use cix[,i] rather than cix[i] for i = 1, 2, 3. ____________ From: Achim Zeileis Sent: Wednesday,

Re: [R] strucchange Graph By Week and xts error

2019-03-06 Thread Sparks, John
sday, March 6, 2019 6:11 PM To: Sparks, John Cc: r-help@r-project.org Subject: Re: [R] strucchange Graph By Week and xts error On Thu, 7 Mar 2019, Sparks, John wrote: > Hi R Helpers, > > I am doing some work at identifying change points in time series data. > A very nice example is give

Re: [R] strucchange Graph By Week and xts error

2019-03-06 Thread Achim Zeileis
On Thu, 7 Mar 2019, Sparks, John wrote: Hi R Helpers, I am doing some work at identifying change points in time series data. A very nice example is given in the R Bloggers post https://www.r-bloggers.com/a-look-at-strucchange-and-segmented/ The data for the aswan dam in that example is year

Re: [R] strucchange Graph By Week and xts error

2019-03-06 Thread Jim Lemon
Hi John, You seem to have 1569 days of data, so perhaps you can get around your axis problem like this: plot(Nile,xaxt="n",xlab="Week") ... axis(1,at=seq(0,200,50),labels=seq(0,200,50)*7) (untested) Jim On Thu, Mar 7, 2019 at 10:46 AM Sparks, John wrote: > > Hi R Helpers, > > I am doing some wo

[R] strucchange Graph By Week and xts error

2019-03-06 Thread Sparks, John
Hi R Helpers, I am doing some work at identifying change points in time series data. A very nice example is given in the R Bloggers post https://www.r-bloggers.com/a-look-at-strucchange-and-segmented/ The data for the aswan dam in that example is yearly. My data is weekly. I ran the code sw