Re: [R] using xyplot to plot frequencies

2009-11-07 Thread Felix Andrews
histogram(~ standard | Year, data = all2) 2009/11/7 Lanna Jin : > Hi all, > > First off, thank you for the overwhelming response last time.  I'm still > trying to figure out the syntax of R to plot some distributions of some > frequencies.  I've managed to plot histograms from the data, but I wou

Re: [R] using xyplot

2009-03-26 Thread Deepayan Sarkar
On 3/22/09, Santosh wrote: > Dear R-sians! > I am trying generate a bunch of xyplots > > library(lattice) > myPanel <- function(x,y,xl=range(x),yl=range(y),...) { > panel.xyplot(x,y,pch=20,col='blue',cex=0.7,xlim=xl,ylim=yl,...) > panel.abline(v=0, col='gray30',lty=2,lwd=1.5,...

[R] using xyplot

2009-03-22 Thread Santosh
Dear R-sians! I am trying generate a bunch of xyplots library(lattice) myPanel <- function(x,y,xl=range(x),yl=range(y),...) { panel.xyplot(x,y,pch=20,col='blue',cex=0.7,xlim=xl,ylim=yl,...) panel.abline(v=0, col='gray30',lty=2,lwd=1.5,...) panel.loess(x,y, span=2/3,family='ga

Re: [R] using xyplot with groups and panel.linejoin

2008-03-07 Thread Dieter Menne
sms.ed.ac.uk> writes: > I am using xyplot() with many groups like this: > > statselect <- levels(dat$stat) > xyplot(relmse~T|lambda, groups=stat, data=dat, >panel = panel.superpose, >key=simpleKey(statselect, lines=T)) > Add lty="l". And remove the panel=panel.superpose, it's

[R] using xyplot with groups and panel.linejoin

2008-03-07 Thread k . m . csillery
Dear All, I am using xyplot() with many groups like this: statselect <- levels(dat$stat) xyplot(relmse~T|lambda, groups=stat, data=dat, panel = panel.superpose, key=simpleKey(statselect, lines=T)) However, I want lines not scatterplots and if I set panel.groups=panel.linejoin that