[R] if else statement

H. Paul Benton hpbenton at scripps.edu
Fri Jan 19 04:02:49 CET 2007


Hello,

    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.

THX

Paul

-- 
Research Technician
Mass Spectrometry
   o The
  /
o Scripps
  \
   o Research
  /
o Institute



More information about the R-help mailing list