Re: [R-SIG-Mac] ifelse script

2017-10-25 Thread Jose G Conde Santiago via R-SIG-Mac
Thank you, Duncan. José José G. Conde, MD, MPH Catedrático, Escuela de Medicina Director, CentIT2 Recinto de Ciencias Médicas, UPR Tel (787) 763-9401 Fax (787) 758-5206 Correo electrónico: jose.con...@upr.edu URL: http://rcmi.rcm.upr.edu > On Oct 25, 2017, at 1:23 PM, Duncan Murdoch wrote:

Re: [R-SIG-Mac] ifelse script

2017-10-25 Thread Duncan Murdoch
On 25/10/2017 1:18 PM, Jose G Conde Santiago via R-SIG-Mac wrote: Hello. I got one new variable computed using ifelse through R Commander. The variable was created without a problem. This was the expression to compute: ifelse(icdfrrcond1 == 1 | icdfrrcond2 == 1 | icdfrrcond3 == 1 | icdfrrcond4

[R-SIG-Mac] ifelse script

2017-10-25 Thread Jose G Conde Santiago via R-SIG-Mac
Hello. I got one new variable computed using ifelse through R Commander. The variable was created without a problem. This was the expression to compute: ifelse(icdfrrcond1 == 1 | icdfrrcond2 == 1 | icdfrrcond3 == 1 | icdfrrcond4 == 1 | icdfrrcond5 == 1 | icdfrrcond6 == 1 | icdfrrcond7 == 1 |