[Rd] Documentation request Re: [R] recode categorial vars into binary data

Hervé Pagès hpages at fhcrc.org
Wed May 15 00:14:48 CEST 2013


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



More information about the R-devel mailing list