Re: [Rd] Inconsistent behaviour when manipulating a ts object with frequency = 12 or 4

2006-05-31 Thread Simone Giannerini
many thanks for the reply, On 5/31/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Attempting to change element 24 of a length 6 time series is inconsistent! of course it is, my post was also motivated by the fact that you obtain different answers also within the same frequency, depending on

Re: [Rd] Inconsistent behaviour when manipulating a ts object with frequency = 12 or 4

2006-05-31 Thread Prof Brian Ripley
Attempting to change element 24 of a length 6 time series is inconsistent! You end up with an invalid series, and the print methods are different for different frequencies, hence different error messages. Please do not send the same post repeatedly! On Wed, 31 May 2006, Simone Giannerini wrote:

[Rd] Inconsistent behaviour when manipulating a ts object with frequency = 12 or 4

2006-05-31 Thread Simone Giannerini
Dear All, I found the following under R 2.3.0 on WINXP (tested on 2 PCs, I do not have access to Linux from this PC, sorry ... ) > set.seed(10) > x <- ts(rnorm(6),frequency=7) > x Time Series: Start = c(1, 1) End = c(1, 6) Frequency = 7 [1] 0.01874617 -0.18425254 -1.37133055 -0.59916772 0.2945