From satimis at yahoo.com  Thu Nov  4 10:39:32 2010
From: satimis at yahoo.com (Stephen Liu)
Date: Thu, 4 Nov 2010 02:39:32 -0700 (PDT)
Subject: [Rd] [R] Logical vectors
In-Reply-To: <XFMail.101104090842.ted.harding@wlandres.net>
References: <XFMail.101104090842.ted.harding@wlandres.net>
Message-ID: <557131.88390.qm@web113210.mail.gq1.yahoo.com>

Hi Ted,

Thanks for your advice and the correction on the document concerned.

B.R.
Stephen L



----- Original Message ----
From: "ted.harding at wlandres.net" <ted.harding at wlandres.net>
To: r-help at r-project.org
Cc: Stephen Liu <satimis at yahoo.com>; R-Devel <r-devel at stat.math.ethz.ch>
Sent: Thu, November 4, 2010 5:08:42 PM
Subject: Re: [R] Logical vectors

On 04-Nov-10 08:56:42, Gerrit Eichner wrote:
> On Thu, 4 Nov 2010, Stephen Liu wrote:
> [snip]
>> In;
>>
>> 2.4 Logical vectors
>> http://cran.r-project.org/doc/manuals/R-intro.html#R-and-statistics
>>
>> It states:-
>>
>> The logical operators are <, <=, >, >=, == for exact equality and !=
>> for inequality ........
>>
>>>    # exact equality
>> !=   # inequality
> 
> [snip]
> 
> 
> Hello, Stephen,
> in my understanding of the sentence
> 
> "The logical operators are <, <=, >, >=, == for exact equality and !=
> for inequality ........"
> 
> the phrase "exact equality" refers to the operator "==", i. e. to the
> last element "==" in the enumeration (<, <=, >, >=, ==), and not to its
> first.
> 
>   Regards  --  Gerrit

This indicates that the sentence can be mis-read. It should be
cured by a small change in punctuation (hence I copy to R-devel):

  The logical operators are <, <=, >, >=; == for exact equality;
  and != for inequality ........

Hoping this helps!
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.harding at wlandres.net>
Fax-to-email: +44 (0)870 094 0861
Date: 04-Nov-10                                       Time: 09:08:37
------------------------------ XFMail ------------------------------





[Rd] [R] Logical vectors
Stephen Liu