Re: [R] Check value interval in a if loop

2009-09-27 Thread Jim Lemon
Lucas Sevilla García wrote: Hi R community I have a little problem, and I tried to solve it by myself but I couldn't. I building an if loop, and I want to check a value inside an interval. This would be the case: pvalue=0,2999 if(pvalue>0.05 or pvalue<0.1) as you can see I would like to ch

Re: [R] Check value interval in a if loop

2009-09-27 Thread Marcio Resende
Hi Lucas, try: if(pvalue>0.05 & pvalue<0.1) HTH Marcio Lucas Sevilla García wrote: > > > Hi R community > > I have a little problem, and I tried to solve it by myself but I couldn't. > I building an if loop, and I want to check a value inside an interval. > This would be the case: > > pv

Re: [R] Check value interval in a if loop

2009-09-27 Thread Uwe Ligges
Lucas Sevilla García wrote: Hi R community I have a little problem, and I tried to solve it by myself but I couldn't. I building an if loop, and I want to check a value inside an interval. This would be the case: pvalue=0,2999 if(pvalue>0.05 or pvalue<0.1) as you can see I would like to c

[R] Check value interval in a if loop

2009-09-27 Thread Lucas Sevilla García
Hi R community I have a little problem, and I tried to solve it by myself but I couldn't. I building an if loop, and I want to check a value inside an interval. This would be the case: pvalue=0,2999 if(pvalue>0.05 or pvalue<0.1) as you can see I would like to check in that if loop if my pval