Re: [R] Plotting using 'if' statements

2008-09-05 Thread Steve Murray
Thanks again for a very quick reply! It worked really well too! _ Discover Bird's Eye View now with Multimap from Live Search __ R-help@r-project.org mailing list https://stat.ethz.ch/ma

Re: [R] Plotting using 'if' statements

2008-09-05 Thread Henrique Dallazuanna
t a small (but important) detail that I'm > missing, and I'd be very grateful if anyone could help me out. > > Many thanks again, > > Steve > > ________________ > Date: Thu, 4 Sep 2008 13:52:03 -0300 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED]

Re: [R] Plotting using 'if' statements

2008-09-05 Thread Steve Murray
3 -0300 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [R] Plotting using 'if' statements CC: r-help@r-project.org Use '&': plot(January[January[,3]> 0 & January[,3] < 2, 3:4]) On Thu, Sep 4, 2008 at 1:47 PM, Steve Murray wrote: Ah that's great

Re: [R] Plotting using 'if' statements

2008-09-04 Thread Steve Murray
Thanks again Henrique - that's really useful to know! _ Discover Bird's Eye View now with Multimap from Live Search __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listin

Re: [R] Plotting using 'if' statements

2008-09-04 Thread Henrique Dallazuanna
umn 3 is > greater than 0 *but also less than 2*? > > Once again, any help is much appreciated. > > > Thanks, > > Steve > > > Date: Thu, 4 Sep 2008 13:39:12 -0300 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject:

Re: [R] Plotting using 'if' statements

2008-09-04 Thread Steve Murray
EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [R] Plotting using 'if' statements CC: r-help@r-project.org Try this: plot(January[January[,3]> 0, 3:4]) On Thu, Sep 4, 2008 at 1:28 PM, Steve Murray wrote: Dear all, I have a dataset of four columns, and I wish to plot (as a

Re: [R] Plotting using 'if' statements

2008-09-04 Thread Henrique Dallazuanna
Try this: plot(January[January[,3] > 0, 3:4]) On Thu, Sep 4, 2008 at 1:28 PM, Steve Murray <[EMAIL PROTECTED]> wrote: > > > Dear all, > > I have a dataset of four columns, and I wish to plot (as a scatter graph) > the values of the third column where the values are greater than zero, and > the f

[R] Plotting using 'if' statements

2008-09-04 Thread Steve Murray
Dear all, I have a dataset of four columns, and I wish to plot (as a scatter graph) the values of the third column where the values are greater than zero, and the fourth column. I tried doing this via the plot command itself, but got into a bit of a mess (resulting in errors!). My dataframe