Re: [R] Case statements in R

From: Roland Rau <roland.rproject_at_gmail.com>
Date: Tue, 29 Jul 2008 11:20:10 -0400

Dear all,

may I suggest to include this quotation of Patrick Burns in the fortunes package? :-)

Best,
Roland

Patrick Burns wrote:
> A good reason to use '&&' rather than '&' is if evaluating
> whatever is on the right will create an error if what is on
> the left is FALSE. '&&' and '||' stop if they already know
> the answer from seeing the left side. So they are likely faster
> by a few nanoseconds, but it's the ability to stop before you
> go off a cliff that is probably the key feature.
>



R-help_at_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. Received on Tue 29 Jul 2008 - 15:22:13 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 Tue 29 Jul 2008 - 16:32:46 GMT.

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

list of date sections of archive