[R] Error from StructTS
ripley at stats.ox.ac.uk
Tue Jan 28 13:06:03 CET 2003
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!).
> With the input:
> 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)
> platform i686-pc-linux-gnu
> arch i686
> os linux-gnu
> system i686, linux-gnu
> major 1
> minor 6.2
> year 2003
> month 01
> day 10
> language R
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help