Re: [Rd] [R] Logical vectors

From: Stephen Liu <satimis_at_yahoo.com>
Date: Thu, 04 Nov 2010 02:39:32 -0700 (PDT)

Hi Ted,

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

B.R.
Stephen L

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 ------------------------------



______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 04 Nov 2010 - 11:11:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 04 Nov 2010 - 14:50:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive