Displaying 1 result from an estimated 1 matches for "new_co2".
2008 Dec 26
1
starting values update
...quot; and "end" of a time-series, one can set the used
values and that means
that functions that use those values, also will be controlled by this.
> start(co2)
[1] 1959 1
> end(co2)
[1] 1997 12
Rearranging by creaating a new ts-object with different
timely parameters:
> new_co2 <- ( ts( co2,frequency=1, start=1959) )
> start(new_co2)
[1] 1959 1
> end(new_co2)
[1] 2426 1
.... and the way back:
> old_co2 <- ( ts( new_co2, frequency=12, start=1959) )
> start(old_co2)
[1] 1959 1
> end(old_co2)
[1] 1997 12
>
using plot on those values w...