[R] Error from StructTS

2003-01-28 Thread Susana Barbosa
Hi, I used function StructTS some time ago to fit a structural model to a time series. Now with R 1.6.2-1 I repeated the analysis with the same series and I get the following error: Error in KalmanLike2(y, Z, -1) : invalid argument type I tried with other series and I get the same error; I

Re: [R] Error from StructTS

2003-01-28 Thread ripley
On Tue, 28 Jan 2003, Susana Barbosa wrote: > I used function StructTS some time ago to fit a structural model to a time > series. > > Now with R 1.6.2-1 I repeated the analysis with the same series and I get the > following error: > > Error in KalmanLike2(y, Z, -1) : invalid argument type >

Re: [R] Error from StructTS

2003-01-28 Thread Susana Barbosa
Thank you for your reply. I am sending a sample time series (not too long I hope!). With the input: load("ts1") StructTS(ts1, type="BSM") I get the following error: Error in KalmanLike2(y, Z, -1) : invalid argument type Thank you! Susana Barbosa (R installed from rpm - Linux Mandrake 9.0) De

Re: [R] Error from StructTS

2003-01-28 Thread ripley
Your series is made up of integers, not doubles. Try > storage.mode(ts1) <- "double" and it will work. I don't think anything has changed here since 1.5.0. On Tue, 28 Jan 2003, Susana Barbosa wrote: > > Thank you for your reply. > I am sending a sample time series (not too long I hope!). >

Re: [R] Error from StructTS: solved

2003-01-28 Thread Susana Barbosa
> Your series is made up of integers, not doubles. Try > > > storage.mode(ts1) <- "double" > > and it will work. I don't think anything has changed here since 1.5.0. > __ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/

Re: [R] Error from StructTS: Solved

2003-01-28 Thread Susana Barbosa
Problem solved. Thank you! Susana (sorry for double posting) :-) > Your series is made up of integers, not doubles. Try > > > storage.mode(ts1) <- "double" > > and it will work. I don't think anything has changed here since 1.5.0. > __ [EMAIL PROT