Re: [R] About basic logical operators

2013-03-06 Thread Duncan Murdoch
On 05/03/2013 7:53 PM, Victor hyk wrote: Hello everyone, I have a basic question regarding logical operators. x-seq(-1,1,by=0.02) x [1] -1.00 -0.98 -0.96 -0.94 -0.92 -0.90 -0.88 -0.86 -0.84 -0.82 -0.80 -0.78 [13] -0.76 -0.74 -0.72 -0.70 -0.68 -0.66 -0.64 -0.62 -0.60 -0.58 -0.56

Re: [R] About basic logical operators

2013-03-06 Thread William Dunlap
-project.org Subject: Re: [R] About basic logical operators On 05/03/2013 7:53 PM, Victor hyk wrote: Hello everyone, I have a basic question regarding logical operators. x-seq(-1,1,by=0.02) x [1] -1.00 -0.98 -0.96 -0.94 -0.92 -0.90 -0.88 -0.86 -0.84 -0.82 -0.80 -0.78 [13

[R] About basic logical operators

2013-03-05 Thread Victor hyk
Hello everyone,   I have a basic question regarding logical operators. x-seq(-1,1,by=0.02) x   [1] -1.00 -0.98 -0.96 -0.94 -0.92 -0.90 -0.88 -0.86 -0.84 -0.82 -0.80 -0.78  [13] -0.76 -0.74 -0.72 -0.70 -0.68 -0.66 -0.64 -0.62 -0.60 -0.58 -0.56 -0.54  [25] -0.52 -0.50 -0.48 -0.46 -0.44

Re: [R] About basic logical operators

2013-03-05 Thread Anthony Damico
not sure if you meant to use both 0.2 and 0.02, but i believe your unexpected results are a floating point issue.. start here http://r.789695.n4.nabble.com/That-dreaded-floating-point-trap-td3418142.html and here

Re: [R] About basic logical operators

2013-03-05 Thread Jeff Newmiller
faq 7.31 --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#..