[R] if else lop

peter dalgaard pdalgd at gmail.com
Tue Jul 5 23:53:51 CEST 2011


On Jul 5, 2011, at 22:27 , gary engstrom wrote:

> I am trying to use if...else loop

Argh! <hurting of eyes and gnashing of teeth>

A loop goes _around_ and around. "for", "repeat", "while".

"if ... else"  is a _branching_ construct. 

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list