Hi Ted, Thanks for your advice and the correction on the document concerned.
B.R. Stephen L ----- Original Message ---- From: "ted.hard...@wlandres.net" <ted.hard...@wlandres.net> To: r-help@r-project.org Cc: Stephen Liu <sati...@yahoo.com>; R-Devel <r-de...@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.hard...@wlandres.net> Fax-to-email: +44 (0)870 094 0861 Date: 04-Nov-10 Time: 09:08:37 ------------------------------ XFMail ------------------------------ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.