search for: g_results_3fx1

Displaying 1 result from an estimated 1 matches for "g_results_3fx1".

2012 Sep 17
1
Adding legends on plots using Lattice package
...line in each graph. How can I modify the command of xyplot in the following line to achieve this? It seems that "key" or "auto.key" parameters are needed, but I don't know how to do it. Thank you very much! require(graphics) library(lattice) data1<-read.csv(file="G_Results_3FX1.csv", header=TRUE) xts<-ts(data1[,2:9],frequency = 4, start = c(1983, 1)) xyplot(xts, screen=list("a","a","b","b","c","c","d","d"), layout=c(2,2), scales=list(x="same",y="same")) Miao [[...