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....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@r-project.org 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.

Reply via email to