Re: [R] Help xyplot

2013-02-23 Thread Nicole Ford
The actual data have more than 5 thousand data points, Just want to plot a few #selected randomly. Based on this, it seems you're looking to pull a random sample of 5 from your dataset. Does this link help? http://stat.ethz.ch/R-manual/R-patched/library/base/html/sample.html ~Nicole Ford

Re: [R] Help xyplot

2013-02-23 Thread Nicole Ford
As to your xyplot question, I found a multiline solution. (Below) I am pretty certain there is a multipolt/ graph solution in the effects package (I haven't used that functionality in some years). http://r.789695.n4.nabble.com/XYplot-in-Lattice-Package-td878511.html ~Nicole Ford Ph.D.

Re: [R] Help xyplot

2013-02-23 Thread Duncan Mackay
Hi Peter Try the 2 examples below - it may give you some ideas useOuterStrips(strip = strip.custom(factor.levels = paste(Year, c(2010:2012)), par.strip.text = list(cex = 0.75)), strip.left = strip.custom(factor.levels = paste(Lat.,

Re: [R] Help xyplot

2013-02-22 Thread Peter Maclean
Hi Mackay and anybody (a) Is it possible to select randomly (let say five grids) and plot? (b) Is it possible to plot five nearest grid in one figure? The original question and improved codes: #I am ploting gridded time series data. I would like the actual lat #and lon value appear on the