[R] xyplot problem

2008-09-23 Thread Pascal A. Niklaus
Hi all, I am trying to produce some panels with dots in an X/Y plane where the diameter of the dots indicates a Z value (like e.g. earthquake maps where dot sizes indicate magnitudes and X/Y the location). This works fine with xyplot, e.g.: xyplot(1:3~1:3,cex=1:3,pch=16) However, when I do

Re: [R] xyplot problem

2008-09-23 Thread Henrique Dallazuanna
Is this what you want? xyplot(y~x | grp, panel = function(x, y, ...){ panel.xyplot(x, y, cex = 1:3, pch = 19, col = 2:5) }) On Tue, Sep 23, 2008 at 10:27 AM, Pascal A. Niklaus [EMAIL PROTECTED] wrote: Hi all, I am trying to produce some panels with dots in an X/Y plane

Re: [R] xyplot problem

2008-09-23 Thread Richard . Cotton
I am trying to produce some panels with dots in an X/Y plane where the diameter of the dots indicates a Z value (like e.g. earthquake maps where dot sizes indicate magnitudes and X/Y the location). This works fine with xyplot, e.g.: xyplot(1:3~1:3,cex=1:3,pch=16) However, when I do

Re: [R] xyplot problem

2008-09-23 Thread Gabor Grothendieck
xyplot will pass a vector of indices through the subscripts argument to the panel so try this: xyplot(y ~ x | grp, panel = function(x, y, subscripts, ...) { panel.xyplot(x, y, cex = sz[subscripts], ...) } ) On Tue, Sep 23, 2008 at 9:27 AM, Pascal A. Niklaus [EMAIL PROTECTED] wrote: Hi

Re: [R] xyplot problem

2008-09-23 Thread Deepayan Sarkar
On 9/23/08, Pascal A. Niklaus [EMAIL PROTECTED] wrote: Hi all, I am trying to produce some panels with dots in an X/Y plane where the diameter of the dots indicates a Z value (like e.g. earthquake maps where dot sizes indicate magnitudes and X/Y the location). This works fine with

Re: [R] xyplot problem

2008-09-23 Thread hadley wickham
On Tue, Sep 23, 2008 at 8:27 AM, Pascal A. Niklaus [EMAIL PROTECTED] wrote: Hi all, I am trying to produce some panels with dots in an X/Y plane where the diameter of the dots indicates a Z value (like e.g. earthquake maps where dot sizes indicate magnitudes and X/Y the location). This

[R] xYplot problem

2007-12-12 Thread Erin Berryman
Dear R community, Since upgrading to R v.2.6.1 and re-installing package Hmisc (binary for Mac OS X v.3.4-3), I have been getting a error when trying to make xYplots: plotcv-c(34.88, 41.51, 45.81, 51.05, 51.66) plotcv.se-c(2.406551, 3.071291, 4.331407, 3.213873, 4.838150) month-c(6, 7, 8,

Re: [R] xYplot problem

2007-12-12 Thread Erin Berryman
On Dec 12, 2007, at 1:37 PM, Deepayan Sarkar wrote: On 12/12/07, Erin Berryman [EMAIL PROTECTED] wrote: Dear R community, Since upgrading to R v.2.6.1 and re-installing package Hmisc (binary for Mac OS X v.3.4-3), I have been getting a error when trying to make xYplots: plotcv-c(34.88,

Re: [R] xYplot problem

2007-12-12 Thread Deepayan Sarkar
On 12/12/07, Erin Berryman [EMAIL PROTECTED] wrote: On Dec 12, 2007, at 1:37 PM, Deepayan Sarkar wrote: On 12/12/07, Erin Berryman [EMAIL PROTECTED] wrote: Dear R community, Since upgrading to R v.2.6.1 and re-installing package Hmisc (binary for Mac OS X v.3.4-3), I have been getting