Skip to content
Prev 67543 / 398506 Next

Combine univariate time series

On 4/13/05, Joerg Klausen <Joerg.Klausen at empa.ch> wrote:
If ts1 and ts2 are two ts series:

both <- ts.union(ts1, ts2)
pmax(both[,1], both[,2], na.rm = TRUE)