[R] if then else

From: <Jue.Wang2_at_sanofi-aventis.com>
Date: Fri 29 Sep 2006 - 22:50:58 GMT


What is the correct form to write statement meaning:

if (a==1) {b=2; c=3}; else {b=0; c=0};

Thank you

Jue Wang, Biostatistician
Contracted Position for Preclinical & Research Biostatistics PrO Unlimited
(908) 231-3022



R-help@stat.math.ethz.ch 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 Sat Sep 30 08:55:03 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 30 Sep 2006 - 12:30:07 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.