Melt your data.frame
library(reshape2)
s3.melted <- melt(s3)
and plot using something along the lines of
ggplot(s3.melted,aes(x=time2,y=value, colour=variable) + geom_line()
(not tested)
Hope this helps
Ulrik
On Wed, 6 Jan 2016 at 17:01 Matthias Worni wrote:
> I got the following problem
I got the following problem in R studio. Im trying to make a plot of
different time series using different colours, which so far worked finde
with the ggplot tool. However I did not manage to accually write a name to
the correct layers. Below you can see the code that I wrote and also woks.
Remembe
2 matches
Mail list logo