Hi,

Does anyone know how I can plot three time series within one graph?

I am running a time series analysis -

I did use the following codes:

########time serie 1

Y <- ts (finalst[,1], start=c (2016,1), frequency = 12)

autoplot(Y)

autoplot(decompose (Y))

########time serie 2

x <- ts (finalst[,2], start=c (2016,1), frequency = 12)

autoplot(x)

autoplot(decompose (x))

########time serie 3

z <- ts (finalst[,3], start=c (2016,1), frequency = 12)

autoplot(z)

autoplot(decompose (z))

My codes work perfectly individually, but I don't know how to plot them together,

thanks -