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: > 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) > Details: > platform i686-pc-linux-gnu > arch i686 > os linux-gnu > system i686, linux-gnu > status > major 1 > minor 6.2 > year 2003 > month 01 > day 10 > language R > > > > > > -- Brian D. Ripley, [EMAIL PROTECTED] 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 ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help