[R] if else lop

Bert Gunter gunter.berton at gene.com
Wed Jul 6 00:07:38 CEST 2011


Hi Peter:

Beware that "gnashing of teeth" business. My Dad, a dentist, said that
a couple of his patients who were musicians did this when they played
and ground their teeth down so much he had to make them dentures!

;-)

Cheers,
Bert

On Tue, Jul 5, 2011 at 2:53 PM, peter dalgaard <pdalgd at gmail.com> wrote:
>
> 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
>
> ______________________________________________
> R-help at 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.
>



-- 
"Men by nature long to get on to the ultimate truths, and will often
be impatient with elementary studies or fight shy of them. If it were
possible to reach the ultimate truths without the elementary studies
usually prefixed to them, these would not be preparatory studies but
superfluous diversions."

-- Maimonides (1135-1204)

Bert Gunter
Genentech Nonclinical Biostatistics
467-7374
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list