From hpages at fhcrc.org  Wed May 15 00:14:48 2013
From: hpages at fhcrc.org (=?UTF-8?B?SGVydsOpIFBhZ8Oocw==?=)
Date: Tue, 14 May 2013 15:14:48 -0700
Subject: [Rd] Documentation request Re: [R] recode categorial vars into
 binary data
In-Reply-To: <20882.23531.134362.54519@stat.math.ethz.ch>
References: <A94D31B3-1F03-4D34-AEB4-57AC14091B1C@comcast.net>
	<51893FF2.4090602@lanl.gov>
	<FC69986C-21A6-4A36-8072-9FCE81AC7BD4@comcast.net>
	<20882.23531.134362.54519@stat.math.ethz.ch>
Message-ID: <5192B758.20205@fhcrc.org>

Hi Martin,

On 05/14/2013 08:44 AM, Martin Maechler wrote:
[...]
>
> PS: Are there other suggestions to help people *stop* using
>
>      ifelse(A, B, C)
>
>      	      in those many places where they should use
>
>      if(A) B else C
> ?

Or to help people stop using

   if (... & ...)
   if (... | ...)

in those many places where they should use

   if (... && ...)
   if (... || ...)

Cheers,
H.


>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Herv? Pag?s

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



[Rd] Documentation request Re: [R] recode categorial vars into binary data
=?UTF-8?B?SGVydsOpIFBhZ8Oocw==?=