Re: [R] if then else

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Sat, 30 Sep 2006 21:37:50 -0400

Jue.Wang2_at_sanofi-aventis.com wrote:
> What is the correct form to write statement meaning:
>
> if (a==1) {b=2; c=3}; else {b=0; c=0};
>
if (a==1) {b=2; c=3} else {b=0; c=0};

Jim



R-help_at_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 30 Sep 2006 - 11:43:05 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 Fri 13 Apr 2007 - 22:32:53 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.