Update Old ts Objects

DESCRIPTION:

Convert an old ts object ( its, rts, or cts), or a really old ts object to a signalSeries or timeSeries object.

USAGE:

ts.update(x) 

REQUIRED ARGUMENTS:

x
the time series to convert.

VALUE:

a timeSeries or signalSeries object (depending on whether the input was a calendar or non-calendar time series) with the same data and equivalent positions.

SEE ALSO:

, .

EXAMPLES:

ts.update(ts(1:10)) 
ts.update(rts(rnorm(100), start=c(1953, 4), frequency=12)) 
ts.update(cts(rgamma(110, 65), start=dates("1/15/1993"),  
              units="weeks", k.units=2)) 
ts.update(its(1:5, c(1.1, 2.2, 3.1, 4.5, 5.6))) 
ts.update(its(1:5, dates(c("1/1/1995", "1/5/1995", "1/6/1995",  
                           "2/1/1995", "2/3/1995"))))