Re: [R] if else statement

From: Jeffrey J. Hallman <jhallman_at_frb.gov>
Date: Fri 19 Jan 2007 - 12:58:59 GMT

?switch

"H. Paul Benton" <hpbenton@scripps.edu> writes:
> I'm doing some scripting and I've noticed that R doesn't seem to
> have an
> if (cond){
> do
> }ifelse (cond) {
> do
> } else {
> do
> }
>
> type block.
>
> Is this correct or am I missing something.

-- 
Jeff

______________________________________________
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 Jan 20 00:04:10 2007

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 Fri 19 Jan 2007 - 13:30:27 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.