search for: ac15

Displaying 2 results from an estimated 2 matches for "ac15".

Did you mean: a15
2003 May 06
5
xyplot (lattice), strip.default
...ne blow the other. I.e. 1979: --...---```--``--.. 1980: ...--``../``\...--- ... etc. Here characters ---...---``` denote the curve. The middle value is on the vertical axis and the latitude is on the horizontal axis of each graph. To do this I use xyplot function from the Lattice package: xyplot(ac15$"value"~ac15$lon|year,data=ac15, type="l", layout=c(1,24), xlab="Longitude", as.table=TRUE, bg="white" ); But I have some problems using it. Questions: 1. How to make xyplot to draw the year value in the strip above...
2003 May 08
3
again troubles with lattice
...ample, "a.R", containing the following library(lattice); trellis.device(device="png", filename="a.png", color = FALSE, bg = "white", width=600, height=800 ); xyplot(ac15$value~ac15$year|factor(lon),data=ac15, type="o", layout=c(1,18), xlab="year", ); dev.off(); The structure of ac15 data frame is like following year value lon 1979 93.428747 0 1979 87.298608 20 1979 78.506340 40 ... 1979 45.567890 340 1...